Lines Matching refs:Strtod
21 return Strtod(StringToVector(str), exponent); in StrtodChar()
25 TEST(Strtod) { in TEST() argument
29 CHECK_EQ(0.0, Strtod(vector, 1)); in TEST()
30 CHECK_EQ(0.0, Strtod(vector, 2)); in TEST()
31 CHECK_EQ(0.0, Strtod(vector, -2)); in TEST()
32 CHECK_EQ(0.0, Strtod(vector, -999)); in TEST()
33 CHECK_EQ(0.0, Strtod(vector, +999)); in TEST()
36 CHECK_EQ(1.0, Strtod(vector, 0)); in TEST()
37 CHECK_EQ(10.0, Strtod(vector, 1)); in TEST()
38 CHECK_EQ(100.0, Strtod(vector, 2)); in TEST()
39 CHECK_EQ(1e20, Strtod(vector, 20)); in TEST()
40 CHECK_EQ(1e22, Strtod(vector, 22)); in TEST()
41 CHECK_EQ(1e23, Strtod(vector, 23)); in TEST()
42 CHECK_EQ(1e35, Strtod(vector, 35)); in TEST()
43 CHECK_EQ(1e36, Strtod(vector, 36)); in TEST()
44 CHECK_EQ(1e37, Strtod(vector, 37)); in TEST()
45 CHECK_EQ(1e-1, Strtod(vector, -1)); in TEST()
46 CHECK_EQ(1e-2, Strtod(vector, -2)); in TEST()
47 CHECK_EQ(1e-5, Strtod(vector, -5)); in TEST()
48 CHECK_EQ(1e-20, Strtod(vector, -20)); in TEST()
49 CHECK_EQ(1e-22, Strtod(vector, -22)); in TEST()
50 CHECK_EQ(1e-23, Strtod(vector, -23)); in TEST()
51 CHECK_EQ(1e-25, Strtod(vector, -25)); in TEST()
52 CHECK_EQ(1e-39, Strtod(vector, -39)); in TEST()
55 CHECK_EQ(2.0, Strtod(vector, 0)); in TEST()
56 CHECK_EQ(20.0, Strtod(vector, 1)); in TEST()
57 CHECK_EQ(200.0, Strtod(vector, 2)); in TEST()
58 CHECK_EQ(2e20, Strtod(vector, 20)); in TEST()
59 CHECK_EQ(2e22, Strtod(vector, 22)); in TEST()
60 CHECK_EQ(2e23, Strtod(vector, 23)); in TEST()
61 CHECK_EQ(2e35, Strtod(vector, 35)); in TEST()
62 CHECK_EQ(2e36, Strtod(vector, 36)); in TEST()
63 CHECK_EQ(2e37, Strtod(vector, 37)); in TEST()
64 CHECK_EQ(2e-1, Strtod(vector, -1)); in TEST()
65 CHECK_EQ(2e-2, Strtod(vector, -2)); in TEST()
66 CHECK_EQ(2e-5, Strtod(vector, -5)); in TEST()
67 CHECK_EQ(2e-20, Strtod(vector, -20)); in TEST()
68 CHECK_EQ(2e-22, Strtod(vector, -22)); in TEST()
69 CHECK_EQ(2e-23, Strtod(vector, -23)); in TEST()
70 CHECK_EQ(2e-25, Strtod(vector, -25)); in TEST()
71 CHECK_EQ(2e-39, Strtod(vector, -39)); in TEST()
74 CHECK_EQ(9.0, Strtod(vector, 0)); in TEST()
75 CHECK_EQ(90.0, Strtod(vector, 1)); in TEST()
76 CHECK_EQ(900.0, Strtod(vector, 2)); in TEST()
77 CHECK_EQ(9e20, Strtod(vector, 20)); in TEST()
78 CHECK_EQ(9e22, Strtod(vector, 22)); in TEST()
79 CHECK_EQ(9e23, Strtod(vector, 23)); in TEST()
80 CHECK_EQ(9e35, Strtod(vector, 35)); in TEST()
81 CHECK_EQ(9e36, Strtod(vector, 36)); in TEST()
82 CHECK_EQ(9e37, Strtod(vector, 37)); in TEST()
83 CHECK_EQ(9e-1, Strtod(vector, -1)); in TEST()
84 CHECK_EQ(9e-2, Strtod(vector, -2)); in TEST()
85 CHECK_EQ(9e-5, Strtod(vector, -5)); in TEST()
86 CHECK_EQ(9e-20, Strtod(vector, -20)); in TEST()
87 CHECK_EQ(9e-22, Strtod(vector, -22)); in TEST()
88 CHECK_EQ(9e-23, Strtod(vector, -23)); in TEST()
89 CHECK_EQ(9e-25, Strtod(vector, -25)); in TEST()
90 CHECK_EQ(9e-39, Strtod(vector, -39)); in TEST()
93 CHECK_EQ(12345.0, Strtod(vector, 0)); in TEST()
94 CHECK_EQ(123450.0, Strtod(vector, 1)); in TEST()
95 CHECK_EQ(1234500.0, Strtod(vector, 2)); in TEST()
96 CHECK_EQ(12345e20, Strtod(vector, 20)); in TEST()
97 CHECK_EQ(12345e22, Strtod(vector, 22)); in TEST()
98 CHECK_EQ(12345e23, Strtod(vector, 23)); in TEST()
99 CHECK_EQ(12345e30, Strtod(vector, 30)); in TEST()
100 CHECK_EQ(12345e31, Strtod(vector, 31)); in TEST()
101 CHECK_EQ(12345e32, Strtod(vector, 32)); in TEST()
102 CHECK_EQ(12345e35, Strtod(vector, 35)); in TEST()
103 CHECK_EQ(12345e36, Strtod(vector, 36)); in TEST()
104 CHECK_EQ(12345e37, Strtod(vector, 37)); in TEST()
105 CHECK_EQ(12345e-1, Strtod(vector, -1)); in TEST()
106 CHECK_EQ(12345e-2, Strtod(vector, -2)); in TEST()
107 CHECK_EQ(12345e-5, Strtod(vector, -5)); in TEST()
108 CHECK_EQ(12345e-20, Strtod(vector, -20)); in TEST()
109 CHECK_EQ(12345e-22, Strtod(vector, -22)); in TEST()
110 CHECK_EQ(12345e-23, Strtod(vector, -23)); in TEST()
111 CHECK_EQ(12345e-25, Strtod(vector, -25)); in TEST()
112 CHECK_EQ(12345e-39, Strtod(vector, -39)); in TEST()
115 CHECK_EQ(12345678901234.0, Strtod(vector, 0)); in TEST()
116 CHECK_EQ(123456789012340.0, Strtod(vector, 1)); in TEST()
117 CHECK_EQ(1234567890123400.0, Strtod(vector, 2)); in TEST()
118 CHECK_EQ(12345678901234e20, Strtod(vector, 20)); in TEST()
119 CHECK_EQ(12345678901234e22, Strtod(vector, 22)); in TEST()
120 CHECK_EQ(12345678901234e23, Strtod(vector, 23)); in TEST()
121 CHECK_EQ(12345678901234e30, Strtod(vector, 30)); in TEST()
122 CHECK_EQ(12345678901234e31, Strtod(vector, 31)); in TEST()
123 CHECK_EQ(12345678901234e32, Strtod(vector, 32)); in TEST()
124 CHECK_EQ(12345678901234e35, Strtod(vector, 35)); in TEST()
125 CHECK_EQ(12345678901234e36, Strtod(vector, 36)); in TEST()
126 CHECK_EQ(12345678901234e37, Strtod(vector, 37)); in TEST()
127 CHECK_EQ(12345678901234e-1, Strtod(vector, -1)); in TEST()
128 CHECK_EQ(12345678901234e-2, Strtod(vector, -2)); in TEST()
129 CHECK_EQ(12345678901234e-5, Strtod(vector, -5)); in TEST()
130 CHECK_EQ(12345678901234e-20, Strtod(vector, -20)); in TEST()
131 CHECK_EQ(12345678901234e-22, Strtod(vector, -22)); in TEST()
132 CHECK_EQ(12345678901234e-23, Strtod(vector, -23)); in TEST()
133 CHECK_EQ(12345678901234e-25, Strtod(vector, -25)); in TEST()
134 CHECK_EQ(12345678901234e-39, Strtod(vector, -39)); in TEST()
137 CHECK_EQ(123456789012345.0, Strtod(vector, 0)); in TEST()
138 CHECK_EQ(1234567890123450.0, Strtod(vector, 1)); in TEST()
139 CHECK_EQ(12345678901234500.0, Strtod(vector, 2)); in TEST()
140 CHECK_EQ(123456789012345e20, Strtod(vector, 20)); in TEST()
141 CHECK_EQ(123456789012345e22, Strtod(vector, 22)); in TEST()
142 CHECK_EQ(123456789012345e23, Strtod(vector, 23)); in TEST()
143 CHECK_EQ(123456789012345e35, Strtod(vector, 35)); in TEST()
144 CHECK_EQ(123456789012345e36, Strtod(vector, 36)); in TEST()
145 CHECK_EQ(123456789012345e37, Strtod(vector, 37)); in TEST()
146 CHECK_EQ(123456789012345e39, Strtod(vector, 39)); in TEST()
147 CHECK_EQ(123456789012345e-1, Strtod(vector, -1)); in TEST()
148 CHECK_EQ(123456789012345e-2, Strtod(vector, -2)); in TEST()
149 CHECK_EQ(123456789012345e-5, Strtod(vector, -5)); in TEST()
150 CHECK_EQ(123456789012345e-20, Strtod(vector, -20)); in TEST()
151 CHECK_EQ(123456789012345e-22, Strtod(vector, -22)); in TEST()
152 CHECK_EQ(123456789012345e-23, Strtod(vector, -23)); in TEST()
153 CHECK_EQ(123456789012345e-25, Strtod(vector, -25)); in TEST()
154 CHECK_EQ(123456789012345e-39, Strtod(vector, -39)); in TEST()
436 double strtod_result = Strtod(vector, exponent); in TEST()
449 double strtod_result = Strtod(vector, exponent); in TEST()