Lines Matching refs:buf2

18     char buf2[100];  in testITOA()  local
22 modp_itoa10(i, buf2); in testITOA()
23 mu_assert_str_equals(buf1, buf2); in testITOA()
26 modp_itoa10(-i, buf2); in testITOA()
27 mu_assert_str_equals(buf1, buf2); in testITOA()
30 modp_itoa10(INT_MAX - i, buf2); in testITOA()
31 mu_assert_str_equals(buf1, buf2); in testITOA()
34 modp_itoa10(-(INT_MAX - i), buf2); in testITOA()
35 mu_assert_str_equals(buf1, buf2); in testITOA()
43 char buf2[100]; in testUITOA() local
47 modp_uitoa10(i, buf2); in testUITOA()
48 mu_assert_str_equals(buf1, buf2); in testUITOA()
53 modp_uitoa10(0xFFFFFFFFu -i, buf2); in testUITOA()
54 mu_assert_str_equals(buf1, buf2); in testUITOA()
62 char buf2[100]; in testLITOA() local
66 modp_litoa10(i, buf2); in testLITOA()
67 mu_assert_str_equals(buf1, buf2); in testLITOA()
70 modp_litoa10(-i, buf2); in testLITOA()
71 mu_assert_str_equals(buf1, buf2); in testLITOA()
74 modp_litoa10(LONG_MAX - i, buf2); in testLITOA()
75 mu_assert_str_equals(buf1, buf2); in testLITOA()
78 modp_litoa10(-(LONG_MAX - i), buf2); in testLITOA()
79 mu_assert_str_equals(buf1, buf2); in testLITOA()
87 char buf2[100]; in testULITOA() local
91 modp_ulitoa10(i, buf2); in testULITOA()
92 mu_assert_str_equals(buf1, buf2); in testULITOA()
97 modp_ulitoa10(0xFFFFFFFFFFFFFFFFull -i, buf2); in testULITOA()
98 mu_assert_str_equals(buf1, buf2); in testULITOA()
106 char buf2[100]; in testDoubleToA() local
134 modp_dtoa(d, buf2, k); in testDoubleToA()
135 mu_assert_str_equals_msg(msg,buf1, buf2); in testDoubleToA()
143 modp_dtoa(d, buf2, k); in testDoubleToA()
144 mu_assert_str_equals_msg(msg,buf1, buf2); in testDoubleToA()
153 modp_dtoa(d, buf2, 6); in testDoubleToA()
154 mu_assert_str_equals("1.000000e+200", buf2); in testDoubleToA()
158 modp_dtoa(d, buf2, 6); in testDoubleToA()
159 mu_assert_str_equals("-1.000000e+200", buf2); in testDoubleToA()
164 modp_dtoa(d, buf2, 6); in testDoubleToA()
165 mu_assert_str_equals(buf1, buf2); in testDoubleToA()
170 modp_dtoa(d, buf2, 6); in testDoubleToA()
171 mu_assert_str_equals(buf1, buf2); in testDoubleToA()
215 char buf2[100]; in testDoubleToA2() local
245 modp_dtoa2(d, buf2, k); in testDoubleToA2()
246 mu_assert_str_equals_msg(msg,buf1, buf2); in testDoubleToA2()
256 modp_dtoa2(d, buf2, k); in testDoubleToA2()
257 mu_assert_str_equals_msg(msg,buf1, buf2); in testDoubleToA2()
266 modp_dtoa2(d, buf2, 6); in testDoubleToA2()
267 mu_assert_str_equals("1.000000e+200", buf2); in testDoubleToA2()
271 modp_dtoa2(d, buf2, 6); in testDoubleToA2()
272 mu_assert_str_equals("-1.000000e+200", buf2); in testDoubleToA2()
279 modp_dtoa2(d, buf2, 6); in testDoubleToA2()
280 mu_assert_str_equals(buf1, buf2); in testDoubleToA2()
287 modp_dtoa2(d, buf2, 6); in testDoubleToA2()
288 mu_assert_str_equals(buf1, buf2); in testDoubleToA2()
292 modp_dtoa(d, buf2, -1); in testDoubleToA2()
293 mu_assert_str_equals("1", buf2); in testDoubleToA2()
294 modp_dtoa2(d, buf2, 10); in testDoubleToA2()
295 mu_assert_str_equals("1.1", buf2); in testDoubleToA2()
304 char buf2[100]; in testOverflowLITOA() local
308 modp_litoa10(longmin, buf2); in testOverflowLITOA()
309 mu_assert_str_equals(buf1, buf2); in testOverflowLITOA()
313 modp_litoa10(longmax, buf2); in testOverflowLITOA()
314 mu_assert_str_equals(buf1, buf2); in testOverflowLITOA()
321 char buf2[100]; in testOverflowITOA() local
325 modp_itoa10(intmin, buf2); in testOverflowITOA()
326 mu_assert_str_equals(buf1, buf2); in testOverflowITOA()
330 modp_itoa10(intmax, buf2); in testOverflowITOA()
331 mu_assert_str_equals(buf1, buf2); in testOverflowITOA()
339 char buf2[100]; in testDTOANonFinite() local
352 buf2[0] = '\0'; in testDTOANonFinite()
353 modp_dtoa2(d, buf2, 6); in testDTOANonFinite()
354 mu_assert_str_equals("inf", buf2); in testDTOANonFinite()
365 buf2[0] = '\0'; in testDTOANonFinite()
366 modp_dtoa(d, buf2, 6); in testDTOANonFinite()
367 mu_assert_str_equals("inf", buf2); in testDTOANonFinite()
369 buf2[0] = '\0'; in testDTOANonFinite()
370 modp_dtoa2(d, buf2, 6); in testDTOANonFinite()
371 mu_assert_str_equals("inf", buf2); in testDTOANonFinite()
384 buf2[0] = '\0'; in testDTOANonFinite()
385 modp_dtoa(d, buf2, 6); in testDTOANonFinite()
386 mu_assert_str_equals("nan", buf2); in testDTOANonFinite()
387 buf2[0] = '\0'; in testDTOANonFinite()
388 modp_dtoa2(d, buf2, 6); in testDTOANonFinite()
389 mu_assert_str_equals("nan", buf2); in testDTOANonFinite()