Home
last modified time | relevance | path

Searched refs:strtod (Results 1 – 25 of 104) sorted by relevance

12345

/freebsd/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_strtod.c69 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 Dt_atoi.c53 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/contrib/gdtoa/
H A Dchanges24 strtod return HUGE_VAL only if __STDC__ is defined; otherwise have it
30 dtoa.c: tweak strtod (one-line addition) so the end-pointer = start
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
96 (or the equivalent) on 80x87 machines before calling strtod or dtoa.
100 strtod check (case insensitively) for "Infinity" and "NaN" on machines
110 dtoa.c: strtod: on IEEE systems, scale to avoid intermediate
118 dtoa.c: strtod: fix a glitch introduced with the scaling of 19970212
126 dtoa.c: strtod: fix another glitch with scaling to avoid underflow
[all …]
H A DREADME16 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
113 Source files g_ddfmt.c, misc.c, smisc.c, strtod.c, strtodg.c, and ulp.c
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
[all …]
H A Dstrtodnrp.c42 strtod(s, sp) CONST char *s; char **sp; in strtod() function
44 strtod(CONST char *s, char **sp)
H A Dmakefile52 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/lib/libc/tests/stdio/
H A Dscanfloat_test.c279 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/contrib/llvm-project/llvm/lib/Support/
H A DFileUtilities.cpp108 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/lib/libc/stdlib/
H A DMakefile.inc42 strfmon.3 strtod.3 strtol.3 strtonum.3 strtoul.3 system.3 \
82 MLINKS+=strtod.3 strtof.3 \
83 strtod.3 strtold.3
H A Datof.c43 return strtod(ascii, (char **)NULL); in atof()
/freebsd/lib/msun/tests/
H A Dnan_test.c80 ad[1] = strtod(nan_str, &end); in testnan()
87 ad[3] = strtod("nan", NULL); in testnan()
H A Dilogb_test.c47 d = strtod(buf, &end); in ATF_TC_BODY()
/freebsd/usr.bin/systat/
H A Dcmds.c88 t = strtod(tmpstr1, NULL) * 1000000.0; in command()
95 t = strtod(cp, NULL) * 1000000.0; in command()
/freebsd/contrib/libcbor/test/
H A Dfloat_ctrl_encoders_test.c191 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/usr.sbin/bluetooth/hccontrol/
H A Dle.c459 (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/usr.bin/rctl/
H A Drctl.c68 *uidp = strtod(s, &end); in parse_user()
96 *gidp = strtod(s, &end); in parse_group()
267 id = strtod(textid, &end); in humanize_ids()
274 id = strtod(textid, &end); in humanize_ids()
/freebsd/lib/libc/gdtoa/
H A DSymbol.map5 strtod;
H A DMakefile.inc7 strtod.c strtodg.c strtof.c strtord.c sum.c ulp.c
/freebsd/contrib/llvm-project/libcxx/include/__locale_dir/locale_base_api/
H A Dandroid.h42 return ::strtod(__nptr, __endptr); in strtod_l()
/freebsd/lib/liblua/
H A Dluaconf.h473 #define lua_str2number(s,p) strtod((s), (p))
639 #define lua_str2number(s,p) ((lua_Number)strtod((s), (p)))
/freebsd/stand/liblua/
H A Dluaconf.h464 #define lua_str2number(s,p) strtod((s), (p))
656 #define lua_str2number(s,p) ((lua_Number)strtod((s), (p)))
/freebsd/contrib/lua/src/
H A Dluaconf.h475 #define lua_str2number(s,p) strtod((s), (p))
634 #define lua_str2number(s,p) ((lua_Number)strtod((s), (p)))
/freebsd/contrib/ntp/util/
H A Dtimetrim.c90 value = strtod(argv[0], &rem); in main()
/freebsd/usr.bin/random/
H A Drandom.c114 denom = strtod(*argv, &ep); in main()
/freebsd/sbin/ipfw/
H A Ddummynet.c214 return (strtod(strt, NULL) * 1000); in time_to_us()
216 return (strtod(strt, NULL)*1000000); in time_to_us()
1421 d = strtod(end, NULL); in ipfw_config_pipe()
1426 d = strtod(end, NULL); in ipfw_config_pipe()
1431 d = strtod(end, NULL); in ipfw_config_pipe()
1436 d = strtod(end, NULL); in ipfw_config_pipe()
1624 double w_q = strtod(end, NULL); in ipfw_config_pipe()
1640 double max_p = strtod(end, NULL); in ipfw_config_pipe()

12345