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

Side by Side Diff: sky/engine/wtf/dtoa.cpp

Issue 1206763002: Really remove config.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/wtf/WTFThreadData.cpp ('k') | sky/engine/wtf/dtoa/bignum.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /**************************************************************** 1 /****************************************************************
2 * 2 *
3 * The author of this software is David M. Gay. 3 * The author of this software is David M. Gay.
4 * 4 *
5 * Copyright (c) 1991, 2000, 2001 by Lucent Technologies. 5 * Copyright (c) 1991, 2000, 2001 by Lucent Technologies.
6 * Copyright (C) 2002, 2005, 2006, 2007, 2008, 2010, 2012 Apple Inc. All rights reserved. 6 * Copyright (C) 2002, 2005, 2006, 2007, 2008, 2010, 2012 Apple Inc. All rights reserved.
7 * 7 *
8 * Permission to use, copy, modify, and distribute this software for any 8 * Permission to use, copy, modify, and distribute this software for any
9 * purpose without fee is hereby granted, provided that this entire notice 9 * purpose without fee is hereby granted, provided that this entire notice
10 * is included in all copies of any software which is or includes a copy 10 * is included in all copies of any software which is or includes a copy
(...skipping 14 matching lines...) Expand all
25 * necessary to specify double-precision (53-bit) rounding precision 25 * necessary to specify double-precision (53-bit) rounding precision
26 * before invoking strtod or dtoa. If the machine uses (the equivalent 26 * before invoking strtod or dtoa. If the machine uses (the equivalent
27 * of) Intel 80x87 arithmetic, the call 27 * of) Intel 80x87 arithmetic, the call
28 * _control87(PC_53, MCW_PC); 28 * _control87(PC_53, MCW_PC);
29 * does this with many compilers. Whether this or another call is 29 * does this with many compilers. Whether this or another call is
30 * appropriate depends on the compiler; for this to work, it may be 30 * appropriate depends on the compiler; for this to work, it may be
31 * necessary to #include "float.h" or another system-dependent header 31 * necessary to #include "float.h" or another system-dependent header
32 * file. 32 * file.
33 */ 33 */
34 34
35 #include "sky/engine/config.h"
36 #include "sky/engine/wtf/dtoa.h" 35 #include "sky/engine/wtf/dtoa.h"
37 36
38 #include "sky/engine/wtf/CPU.h" 37 #include "sky/engine/wtf/CPU.h"
39 #include "sky/engine/wtf/MathExtras.h" 38 #include "sky/engine/wtf/MathExtras.h"
40 #include "sky/engine/wtf/ThreadingPrimitives.h" 39 #include "sky/engine/wtf/ThreadingPrimitives.h"
41 #include "sky/engine/wtf/Vector.h" 40 #include "sky/engine/wtf/Vector.h"
42 41
43 namespace WTF { 42 namespace WTF {
44 43
45 Mutex* s_dtoaP5Mutex; 44 Mutex* s_dtoaP5Mutex;
(...skipping 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after
1294 { 1293 {
1295 Vector<LChar> conversionBuffer(length); 1294 Vector<LChar> conversionBuffer(length);
1296 for (size_t i = 0; i < length; ++i) 1295 for (size_t i = 0; i < length; ++i)
1297 conversionBuffer[i] = isASCII(string[i]) ? string[i] : 0; 1296 conversionBuffer[i] = isASCII(string[i]) ? string[i] : 0;
1298 return parseDouble(conversionBuffer.data(), length, parsedLength); 1297 return parseDouble(conversionBuffer.data(), length, parsedLength);
1299 } 1298 }
1300 1299
1301 } // namespace Internal 1300 } // namespace Internal
1302 1301
1303 } // namespace WTF 1302 } // namespace WTF
OLDNEW
« no previous file with comments | « sky/engine/wtf/WTFThreadData.cpp ('k') | sky/engine/wtf/dtoa/bignum.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698