| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <limits.h> |
| 5 #include <stdarg.h> | 6 #include <stdarg.h> |
| 6 #include <limits.h> | |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 | 8 |
| 9 #include "src/v8.h" | 9 #include "src/v8.h" |
| 10 | 10 |
| 11 #include "src/assert-scope.h" | 11 #include "src/assert-scope.h" |
| 12 #include "src/conversions-inl.h" |
| 12 #include "src/conversions.h" | 13 #include "src/conversions.h" |
| 13 #include "src/conversions-inl.h" | |
| 14 #include "src/dtoa.h" | 14 #include "src/dtoa.h" |
| 15 #include "src/factory.h" | 15 #include "src/factory.h" |
| 16 #include "src/list-inl.h" | 16 #include "src/list-inl.h" |
| 17 #include "src/strtod.h" | 17 #include "src/strtod.h" |
| 18 #include "src/utils.h" | 18 #include "src/utils.h" |
| 19 | 19 |
| 20 #ifndef _STLP_VENDOR_CSTD | 20 #ifndef _STLP_VENDOR_CSTD |
| 21 // STLPort doesn't import fpclassify into the std namespace. | 21 // STLPort doesn't import fpclassify into the std namespace. |
| 22 using std::fpclassify; | 22 using std::fpclassify; |
| 23 #endif | 23 #endif |
| (...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 return StringToDouble( | 494 return StringToDouble( |
| 495 unicode_cache, flat.ToOneByteVector(), flags, empty_string_val); | 495 unicode_cache, flat.ToOneByteVector(), flags, empty_string_val); |
| 496 } else { | 496 } else { |
| 497 return StringToDouble( | 497 return StringToDouble( |
| 498 unicode_cache, flat.ToUC16Vector(), flags, empty_string_val); | 498 unicode_cache, flat.ToUC16Vector(), flags, empty_string_val); |
| 499 } | 499 } |
| 500 } | 500 } |
| 501 | 501 |
| 502 | 502 |
| 503 } } // namespace v8::internal | 503 } } // namespace v8::internal |
| OLD | NEW |