Home
last modified time | relevance | path

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

1234

/freebsd-13.1/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-13.1/lib/libc/tests/stdio/
H A Dscanfloat_test.c282 ATF_TC_WITHOUT_HEAD(strtod);
283 ATF_TC_BODY(strtod, tc) in ATF_TC_BODY() argument
289 ATF_REQUIRE(strtod("0xy", &endp) == 0); in ATF_TC_BODY()
295 ATF_REQUIRE(strtod("2e308", &endp) == DBL_MAX); in ATF_TC_BODY()
298 ATF_REQUIRE(strtod("2e308", &endp) == INFINITY); in ATF_TC_BODY()
301 ATF_REQUIRE(strtod("2e308", &endp) == DBL_MAX); in ATF_TC_BODY()
304 ATF_REQUIRE(strtod("2e308", &endp) == INFINITY); in ATF_TC_BODY()
313 ATF_TP_ADD_TC(tp, strtod); in ATF_TP_ADD_TCS()
/freebsd-13.1/contrib/gdtoa/
H A Dchanges34 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 Dstrtodnrp.c42 strtod(s, sp) CONST char *s; char **sp; in strtod() function
44 strtod(CONST char *s, char **sp)
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
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 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-13.1/contrib/llvm-project/llvm/lib/Support/
H A DFileUtilities.cpp110 V1 = strtod(F1P, const_cast<char**>(&F1NumEnd)); in CompareNumbers()
111 V2 = strtod(F2P, const_cast<char**>(&F2NumEnd)); in CompareNumbers()
119 V1 = strtod(&StrTmp[0], const_cast<char**>(&F1NumEnd)); in CompareNumbers()
129 V2 = strtod(&StrTmp[0], const_cast<char**>(&F2NumEnd)); in CompareNumbers()
/freebsd-13.1/lib/libc/stdlib/
H A DMakefile.inc41 strfmon.3 strtod.3 strtol.3 strtonum.3 strtoul.3 system.3 \
63 MLINKS+=strtod.3 strtof.3 strtod.3 strtold.3
H A Datof.c49 return strtod(ascii, (char **)NULL); in atof()
/freebsd-13.1/lib/msun/tests/
H A Dnan_test.c83 ad[1] = strtod(nan_str, &end); in testnan()
90 ad[3] = strtod("nan", NULL); in testnan()
H A Dilogb_test.c49 d = strtod(buf, &end); in ATF_TC_BODY()
/freebsd-13.1/usr.bin/systat/
H A Dcmds.c94 t = strtod(tmpstr1, NULL) * 1000000.0; in command()
101 t = strtod(cp, NULL) * 1000000.0; in command()
/freebsd-13.1/lib/libc/gdtoa/
H A DSymbol.map9 strtod;
H A DMakefile.inc9 strtod.c strtodg.c strtof.c strtord.c sum.c ulp.c
/freebsd-13.1/usr.bin/rctl/
H A Drctl.c73 *uidp = strtod(s, &end); in parse_user()
101 *gidp = strtod(s, &end); in parse_group()
272 id = strtod(textid, &end); in humanize_ids()
279 id = strtod(textid, &end); in humanize_ids()
/freebsd-13.1/usr.sbin/bluetooth/hccontrol/
H A Dle.c460 (uint16_t)(strtod(optarg, NULL)/0.625); in le_set_advertising_param()
464 (uint16_t)(strtod(optarg, NULL)/0.625); in le_set_advertising_param()
468 (uint8_t)strtod(optarg, NULL); in le_set_advertising_param()
472 (uint8_t)strtod(optarg, NULL); in le_set_advertising_param()
476 (uint8_t)strtod(optarg, NULL); in le_set_advertising_param()
490 (uint8_t)strtod(optarg, NULL); in le_set_advertising_param()
494 (uint8_t)strtod(optarg, NULL); in le_set_advertising_param()
/freebsd-13.1/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-13.1/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-13.1/contrib/ntp/util/
H A Dtimetrim.c90 value = strtod(argv[0], &rem); in main()
/freebsd-13.1/contrib/llvm-project/lldb/source/Host/common/
H A DStringConvert.cpp83 double val = strtod(s, &end); in ToDouble()
/freebsd-13.1/usr.bin/random/
H A Drandom.c128 denom = strtod(*argv, &ep); in main()
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dcstdlib38 double strtod (const char* restrict nptr, char** restrict endptr);
111 using ::strtod _LIBCPP_USING_IF_EXISTS;
/freebsd-13.1/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_stats_timing.cpp71 double freq = strtod(end, &start); in tick_time()
/freebsd-13.1/contrib/netbsd-tests/lib/libc/gen/
H A Dt_fpsetround.c104 double d = strtod(tst[i].n, NULL); in test()

1234