OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2005 Frerich Raabe <raabe@kde.org> | 2 * Copyright 2005 Frerich Raabe <raabe@kde.org> |
3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 if (std::isinf(m_number)) | 137 if (std::isinf(m_number)) |
138 return std::signbit(m_number) ? "-Infinity" : "Infinity"; | 138 return std::signbit(m_number) ? "-Infinity" : "Infinity"; |
139 return String::number(m_number); | 139 return String::number(m_number); |
140 case BooleanValue: | 140 case BooleanValue: |
141 return m_bool ? "true" : "false"; | 141 return m_bool ? "true" : "false"; |
142 } | 142 } |
143 ASSERT_NOT_REACHED(); | 143 ASSERT_NOT_REACHED(); |
144 return String(); | 144 return String(); |
145 } | 145 } |
146 | 146 |
147 } | 147 } // namespace XPath |
148 } | 148 } // namespace blink |
OLD | NEW |