| /src/lib/libc/stdlib/ |
| atof.c | 49 return (strtod(ascii, NULL));
|
| atof.c | 49 return (strtod(ascii, NULL));
|
| /src/tests/lib/libc/stdlib/ |
| t_atoi.c | 44 "Test that atof(3) matches the corresponding strtod(3) call"); 53 ATF_REQUIRE(atof("0") == strtod("0", NULL)); 54 ATF_REQUIRE(atof("-1") == strtod("-1", NULL)); 55 ATF_REQUIRE(atof(buf) == strtod(buf, NULL));
|
| t_atoi.c | 44 "Test that atof(3) matches the corresponding strtod(3) call"); 53 ATF_REQUIRE(atof("0") == strtod("0", NULL)); 54 ATF_REQUIRE(atof("-1") == strtod("-1", NULL)); 55 ATF_REQUIRE(atof(buf) == strtod(buf, NULL));
|
| t_strtod.c | 55 atf_tc_set_md_var(tc, "descr", "A basic test of strtod(3)"); 67 double d = strtod(buf, NULL); 111 atf_tc_set_md_var(tc, "descr", "A strtod(3) with hexadecimals"); 121 d = strtod(str, &end); /* -0.0 */ 129 d = strtod(str, &end); /* -0.0 */ 140 atf_tc_set_md_var(tc, "descr", "A strtod(3) with INF (PR lib/33262)"); 150 volatile double d = strtod(inf_strings[i], NULL); 199 atf_tc_set_md_var(tc, "descr", "A strtod(3) with NaN"); 210 volatile double d = strtod(nan_string, &end); 264 atf_tc_set_md_var(tc, "descr", "Test rounding in strtod(3)") [all...] |
| t_strtod.c | 55 atf_tc_set_md_var(tc, "descr", "A basic test of strtod(3)"); 67 double d = strtod(buf, NULL); 111 atf_tc_set_md_var(tc, "descr", "A strtod(3) with hexadecimals"); 121 d = strtod(str, &end); /* -0.0 */ 129 d = strtod(str, &end); /* -0.0 */ 140 atf_tc_set_md_var(tc, "descr", "A strtod(3) with INF (PR lib/33262)"); 150 volatile double d = strtod(inf_strings[i], NULL); 199 atf_tc_set_md_var(tc, "descr", "A strtod(3) with NaN"); 210 volatile double d = strtod(nan_string, &end); 264 atf_tc_set_md_var(tc, "descr", "Test rounding in strtod(3)") [all...] |
| /src/lib/libc/gdtoa/ |
| strtodnrp.c | 33 /* This is a variant of strtod that works on Intel ia32 systems */ 44 strtod(s, sp) CONST char *s; char **sp; function 46 strtod(CONST char *s, char **sp)
|
| strtodnrp.c | 33 /* This is a variant of strtod that works on Intel ia32 systems */ 44 strtod(s, sp) CONST char *s; char **sp; function 46 strtod(CONST char *s, char **sp)
|
| makefile | 52 strtoIf.c strtoIg.c strtoIx.c strtoIxL.c strtod.c strtodI.c\ 73 strtoIxL.c strtod.c strtodI.c strtodg.c strtodnrp.c strtof.c\
|
| makefile | 52 strtoIf.c strtoIg.c strtoIx.c strtoIxL.c strtod.c strtodI.c\ 73 strtoIxL.c strtod.c strtodI.c strtodg.c strtodnrp.c strtof.c\
|
| /src/lib/libm/gen/ |
| nan.c | 47 #define NAN_STRTOD strtod
|
| nan.c | 47 #define NAN_STRTOD strtod
|
| /src/usr.bin/make/unit-tests/ |
| cond-token-number.mk | 11 # Even though -0 is a number and would be accepted by strtod, it is not 22 # Even though +0 is a number and would be accepted by strtod, it is not 33 # Even though -1 is a number and would be accepted by strtod, it is not 44 # Even though +1 is a number and would be accepted by strtod, it is not
|
| cond-token-number.mk | 11 # Even though -0 is a number and would be accepted by strtod, it is not 22 # Even though +0 is a number and would be accepted by strtod, it is not 33 # Even though -1 is a number and would be accepted by strtod, it is not 44 # Even though +1 is a number and would be accepted by strtod, it is not
|
| cond-cmp-numeric-ne.mk | 21 # Scientific notation is supported, as per strtod.
|
| cond-cmp-numeric-ne.mk | 21 # Scientific notation is supported, as per strtod.
|
| /src/games/random/ |
| random.c | 94 denom = strtod(*argv, &ep);
|
| random.c | 94 denom = strtod(*argv, &ep);
|
| /src/lib/libc/gdtoa/test/ |
| ddtest.c | 134 u.dd[0] = strtod(s, &se); 135 u.dd[1] = strtod(se, &se); 168 printf("ddI[0] == strtod\n"); 170 printf("ddI[1] == strtod\n");
|
| ddtest.c | 134 u.dd[0] = strtod(s, &se); 135 u.dd[1] = strtod(se, &se); 168 printf("ddI[0] == strtod\n"); 170 printf("ddI[1] == strtod\n");
|
| strtodt.c | 32 /* Test strtod. */ 36 * x = high-order Hex value expected from strtod 82 b.d = strtod(buf,0); 105 "\t\tx = high-order Hex value expected from strtod\n" 107 "\tComplain about errors by strtod.\n"
|
| strtodt.c | 32 /* Test strtod. */ 36 * x = high-order Hex value expected from strtod 82 b.d = strtod(buf,0); 105 "\t\tx = high-order Hex value expected from strtod\n" 107 "\tComplain about errors by strtod.\n"
|
| dtest.c | 32 /* Test program for g_dfmt, strtoId, strtod, strtopd, and strtord. 99 if ((u.f != strtod(ibuf, &se1) || se1 != se)) 100 printf("***strtod and strtord disagree!!\n"); 105 printf("strtod consumes %d bytes and returns %d with f = %.17g = #%lx %lx\n", 117 printf("fI[0] == fI[1] == strtod\n"); 130 printf("fI[0] == strtod\n"); 132 printf("fI[1] == strtod\n"); 134 printf("**** Both differ from strtod ****\n");
|
| /src/usr.sbin/envstat/ |
| config.c | 517 val = strtod(strval, &endptr); 536 val = strtod(strval, &endptr); 564 val = strtod(strval, &endptr); 592 val = strtod(strval, &endptr); 620 val = strtod(strval, &endptr); 745 val = strtod(strval, &endptr); 763 val = strtod(value, &endptr); 778 val = strtod(value, &endptr);
|
| config.c | 517 val = strtod(strval, &endptr); 536 val = strtod(strval, &endptr); 564 val = strtod(strval, &endptr); 592 val = strtod(strval, &endptr); 620 val = strtod(strval, &endptr); 745 val = strtod(strval, &endptr); 763 val = strtod(value, &endptr); 778 val = strtod(value, &endptr);
|