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 <stdint.h> | 5 #include <stdint.h> |
6 #include "src/base/logging.h" | 6 #include "src/base/logging.h" |
7 #include "src/utils.h" | 7 #include "src/utils.h" |
8 | 8 |
9 #include "src/fast-dtoa.h" | 9 #include "src/fast-dtoa.h" |
10 | 10 |
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 default: | 705 default: |
706 UNREACHABLE(); | 706 UNREACHABLE(); |
707 } | 707 } |
708 if (result) { | 708 if (result) { |
709 *decimal_point = *length + decimal_exponent; | 709 *decimal_point = *length + decimal_exponent; |
710 buffer[*length] = '\0'; | 710 buffer[*length] = '\0'; |
711 } | 711 } |
712 return result; | 712 return result; |
713 } | 713 } |
714 | 714 |
715 } } // namespace v8::internal | 715 } // namespace internal |
| 716 } // namespace v8 |
OLD | NEW |