| /freebsd-14.2/contrib/netbsd-tests/lib/libc/stdlib/ |
| H A D | t_strtod.c | 69 double d = strtod(buf, NULL); in ATF_TC_BODY() 95 d = strtod(str, &end); /* -0.0 */ in ATF_TC_BODY() 102 d = strtod(str, &end); /* -0.0 */ in ATF_TC_BODY() 119 volatile double d = strtod(inf_strings[i], NULL); in ATF_TC_BODY() 179 volatile double d = strtod(nan_string, &end); in ATF_TC_BODY() 252 volatile double d1 = strtod(val, NULL); in ATF_TC_BODY() 256 volatile double d2 = strtod(val, NULL); in ATF_TC_BODY() 289 volatile double d = strtod(tmp, NULL); in ATF_TC_BODY() 313 volatile double d = strtod(str, NULL); in ATF_TC_BODY()
|
| H A D | t_atoi.c | 53 ATF_REQUIRE(atof("0") == strtod("0", NULL)); in ATF_TC_BODY() 54 ATF_REQUIRE(atof("-1") == strtod("-1", NULL)); in ATF_TC_BODY() 55 ATF_REQUIRE(atof(buf) == strtod(buf, NULL)); in ATF_TC_BODY()
|
| /freebsd-14.2/lib/libc/tests/stdio/ |
| H A D | scanfloat_test.c | 279 ATF_TC_WITHOUT_HEAD(strtod); 280 ATF_TC_BODY(strtod, tc) in ATF_TC_BODY() argument 286 ATF_REQUIRE(strtod("0xy", &endp) == 0); in ATF_TC_BODY() 292 ATF_REQUIRE(strtod("2e308", &endp) == DBL_MAX); in ATF_TC_BODY() 295 ATF_REQUIRE(strtod("2e308", &endp) == INFINITY); in ATF_TC_BODY() 298 ATF_REQUIRE(strtod("2e308", &endp) == DBL_MAX); in ATF_TC_BODY() 301 ATF_REQUIRE(strtod("2e308", &endp) == INFINITY); in ATF_TC_BODY() 310 ATF_TP_ADD_TC(tp, strtod); in ATF_TP_ADD_TCS()
|
| /freebsd-14.2/contrib/gdtoa/ |
| H A D | changes | 34 dtoa.c: adjust treatment of exponent field (in strtod) to behave 58 dtoa.c: fix bug in strtod's handling of numbers with very 60 fix storage leak in strtod with underflows and overflows near 110 dtoa.c: strtod: on IEEE systems, scale to avoid intermediate 266 2. Compilation with -DNO_ERRNO prevents strtod from assigning 291 strtod and dtoa to round according to FLT_ROUNDS: 312 only in the variant of strtod that appears in gdtoa.tgz. 517 gdtoa/strtod.c: fix a comment glitch (with commented {}). 617 dtoa.c and gdtoa/strtod.c: Fix an obscure bug in strtod's handling 633 gdtoa/strtod.c: make some corresponding changes. [all …]
|
| H A D | strtodnrp.c | 42 strtod(s, sp) CONST char *s; char **sp; in strtod() function 44 strtod(CONST char *s, char **sp)
|
| H A D | README | 16 are generalizations of the strtod and dtoa routines described in 64 strtod 99 Functions strtod and strtof have "natural" return types, float and 100 double -- strtod is specified by the C standard, and strtof appears 132 By default, the core routine strtodg and strtod set errno to ERANGE 136 Routine strtod is based on netlib's "dtoa.c from fp", and 137 (f = strtod(s,se)) is more efficient for some conversions than, say, 138 strtord(s,se,1,&f). Parts of strtod require true IEEE double 149 Source file strtodnrp.c gives a strtod that does not require 53-bit 278 strtod [all …]
|
| H A D | 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\
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | FileUtilities.cpp | 108 V1 = strtod(F1P, const_cast<char**>(&F1NumEnd)); in CompareNumbers() 109 V2 = strtod(F2P, const_cast<char**>(&F2NumEnd)); in CompareNumbers() 117 V1 = strtod(&StrTmp[0], const_cast<char**>(&F1NumEnd)); in CompareNumbers() 127 V2 = strtod(&StrTmp[0], const_cast<char**>(&F2NumEnd)); in CompareNumbers()
|
| /freebsd-14.2/lib/libc/stdlib/ |
| H A D | Makefile.inc | 44 strfmon.3 strtod.3 strtol.3 strtonum.3 strtoul.3 system.3 \ 67 MLINKS+=strtod.3 strtof.3 strtod.3 strtold.3
|
| H A D | atof.c | 46 return strtod(ascii, (char **)NULL); in atof()
|
| /freebsd-14.2/lib/msun/tests/ |
| H A D | nan_test.c | 81 ad[1] = strtod(nan_str, &end); in testnan() 88 ad[3] = strtod("nan", NULL); in testnan()
|
| H A D | ilogb_test.c | 47 d = strtod(buf, &end); in ATF_TC_BODY()
|
| /freebsd-14.2/usr.bin/systat/ |
| H A D | cmds.c | 91 t = strtod(tmpstr1, NULL) * 1000000.0; in command() 98 t = strtod(cp, NULL) * 1000000.0; in command()
|
| /freebsd-14.2/lib/libc/gdtoa/ |
| H A D | Symbol.map | 5 strtod;
|
| H A D | Makefile.inc | 8 strtod.c strtodg.c strtof.c strtord.c sum.c ulp.c
|
| /freebsd-14.2/contrib/libcbor/test/ |
| H A D | float_ctrl_encoders_test.c | 191 assert_size_equal(9, cbor_encode_double(strtod("Inf", NULL), buffer, 512)); in test_double() 197 assert_size_equal(9, cbor_encode_double(strtod("-Inf", NULL), buffer, 512)); in test_double()
|
| /freebsd-14.2/usr.bin/rctl/ |
| H A D | rctl.c | 69 *uidp = strtod(s, &end); in parse_user() 97 *gidp = strtod(s, &end); in parse_group() 268 id = strtod(textid, &end); in humanize_ids() 275 id = strtod(textid, &end); in humanize_ids()
|
| /freebsd-14.2/usr.sbin/bluetooth/hccontrol/ |
| H A D | le.c | 459 (uint16_t)(strtod(optarg, NULL)/0.625); in le_set_advertising_param() 463 (uint16_t)(strtod(optarg, NULL)/0.625); in le_set_advertising_param() 467 (uint8_t)strtod(optarg, NULL); in le_set_advertising_param() 471 (uint8_t)strtod(optarg, NULL); in le_set_advertising_param() 475 (uint8_t)strtod(optarg, NULL); in le_set_advertising_param() 489 (uint8_t)strtod(optarg, NULL); in le_set_advertising_param() 493 (uint8_t)strtod(optarg, NULL); in le_set_advertising_param()
|
| /freebsd-14.2/lib/liblua/ |
| H A D | luaconf.h | 473 #define lua_str2number(s,p) strtod((s), (p)) 639 #define lua_str2number(s,p) ((lua_Number)strtod((s), (p)))
|
| /freebsd-14.2/stand/liblua/ |
| H A D | luaconf.h | 464 #define lua_str2number(s,p) strtod((s), (p)) 656 #define lua_str2number(s,p) ((lua_Number)strtod((s), (p)))
|
| /freebsd-14.2/contrib/ntp/util/ |
| H A D | timetrim.c | 90 value = strtod(argv[0], &rem); in main()
|
| /freebsd-14.2/contrib/lua/src/ |
| H A D | luaconf.h | 475 #define lua_str2number(s,p) strtod((s), (p)) 634 #define lua_str2number(s,p) ((lua_Number)strtod((s), (p)))
|
| /freebsd-14.2/usr.bin/random/ |
| H A D | random.c | 126 denom = strtod(*argv, &ep); in main()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | cstdlib | 38 double strtod (const char* restrict nptr, char** restrict endptr); 111 using ::strtod _LIBCPP_USING_IF_EXISTS;
|
| /freebsd-14.2/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_stats_timing.cpp | 71 double freq = strtod(end, &start); in tick_time()
|