Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: src/conversions-inl.h

Issue 304153016: Use full include paths everywhere (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/conversions.cc ('k') | src/counters.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef V8_CONVERSIONS_INL_H_ 5 #ifndef V8_CONVERSIONS_INL_H_
6 #define V8_CONVERSIONS_INL_H_ 6 #define V8_CONVERSIONS_INL_H_
7 7
8 #include <limits.h> // Required for INT_MAX etc. 8 #include <limits.h> // Required for INT_MAX etc.
9 #include <float.h> // Required for DBL_MAX and on Win32 for finite() 9 #include <float.h> // Required for DBL_MAX and on Win32 for finite()
10 #include <stdarg.h> 10 #include <stdarg.h>
11 #include <cmath> 11 #include <cmath>
12 #include "globals.h" // Required for V8_INFINITY 12 #include "src/globals.h" // Required for V8_INFINITY
13 13
14 // ---------------------------------------------------------------------------- 14 // ----------------------------------------------------------------------------
15 // Extra POSIX/ANSI functions for Win32/MSVC. 15 // Extra POSIX/ANSI functions for Win32/MSVC.
16 16
17 #include "conversions.h" 17 #include "src/conversions.h"
18 #include "double.h" 18 #include "src/double.h"
19 #include "platform.h" 19 #include "src/platform.h"
20 #include "scanner.h" 20 #include "src/scanner.h"
21 #include "strtod.h" 21 #include "src/strtod.h"
22 22
23 namespace v8 { 23 namespace v8 {
24 namespace internal { 24 namespace internal {
25 25
26 inline double JunkStringValue() { 26 inline double JunkStringValue() {
27 return BitCast<double, uint64_t>(kQuietNaNMask); 27 return BitCast<double, uint64_t>(kQuietNaNMask);
28 } 28 }
29 29
30 30
31 inline double SignedZero(bool negative) { 31 inline double SignedZero(bool negative) {
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 SLOW_ASSERT(buffer_pos < kBufferSize); 676 SLOW_ASSERT(buffer_pos < kBufferSize);
677 buffer[buffer_pos] = '\0'; 677 buffer[buffer_pos] = '\0';
678 678
679 double converted = Strtod(Vector<const char>(buffer, buffer_pos), exponent); 679 double converted = Strtod(Vector<const char>(buffer, buffer_pos), exponent);
680 return (sign == NEGATIVE) ? -converted : converted; 680 return (sign == NEGATIVE) ? -converted : converted;
681 } 681 }
682 682
683 } } // namespace v8::internal 683 } } // namespace v8::internal
684 684
685 #endif // V8_CONVERSIONS_INL_H_ 685 #endif // V8_CONVERSIONS_INL_H_
OLDNEW
« no previous file with comments | « src/conversions.cc ('k') | src/counters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698