OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:strtod
(Results
1 - 25
of
52
) sorted by relevancy
1
2
3
/src/lib/libc/stdlib/
atof.c
49
return (
strtod
(ascii, NULL));
Makefile.inc
60
strfmon.3 strsuftoll.3
strtod
.3 strtoi.3 strtol.3 strtou.3 strtoul.3 \
104
MLINKS+=
strtod
.3 strtof.3
strtod
.3 strtold.3
/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_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)
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\
gdtoa.h
140
extern double
strtod
ANSI((CONST char *, char **));
/src/lib/libm/gen/
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-cmp-numeric-ne.mk
21
# Scientific notation is supported, as per
strtod
.
cond-cmp-numeric-ge.mk
32
# Scientific notation is supported, as per
strtod
.
cond-cmp-numeric-gt.mk
31
# Scientific notation is supported, as per
strtod
.
cond-cmp-numeric-le.mk
32
# Scientific notation is supported, as per
strtod
.
cond-cmp-numeric-lt.mk
31
# Scientific notation is supported, as per
strtod
.
cond-cmp-numeric.mk
12
# Even if
strtod
(3) parses "INF" as +Infinity, make does not accept this
/src/games/random/
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");
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");
pftest.c
115
d.x =
strtod
(b,&s);
dt.c
32
/* Test program for
strtod
and dtoa.
153
perror("\nerrno
strtod
");
175
dval(&d1) =
strtod
(buf, (char **)0);
228
dval(&d) =
strtod
(buf,&se);
/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);
/src/bin/sleep/
sleep.c
114
*
strtod
() handles hex (on NetBSD it does) so will we.
129
* then try again using the C locale, so
strtod
() can always
135
val =
strtod
(arg, &temp);
/src/tests/lib/libc/locale/
t_sprintf.c
142
*
strtod
() is not identical to the expected value - it turns out
166
d = (double)
strtod
(t->double_input, NULL);
170
"d=
strtod
(t->double_input[%s], NULL)[%.12g = %a] != "
210
"Checks strtol and
strtod
under different locales");
/src/usr.sbin/altq/altqstat/
altqstat.c
128
ival =
strtod
(optarg, NULL);
Completed in 217 milliseconds
1
2
3
Indexes created Mon Oct 20 20:10:13 GMT 2025