summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/strtod.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-05-28 17:03:12 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-05-28 17:03:12 +0000
commita82bbc730e20fe9dec4abeb1d949b2d02869032a (patch)
tree96c195652047b452e756960d6bdfc6786443c564 /lib/libc/stdlib/strtod.c
parent6ba807ae3ad4a36737776b8360698979fb378d97 (diff)
Notes
Diffstat (limited to 'lib/libc/stdlib/strtod.c')
-rw-r--r--lib/libc/stdlib/strtod.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c
index 9258d715c7b0..eaa7ad0e2124 100644
--- a/lib/libc/stdlib/strtod.c
+++ b/lib/libc/stdlib/strtod.c
@@ -1378,18 +1378,7 @@ strtod
if (e1 > DBL_MAX_10_EXP) {
ovfl:
errno = ERANGE;
-#ifdef __STDC__
rv = HUGE_VAL;
-#else
- /* Can't trust HUGE_VAL */
-#ifdef IEEE_Arith
- word0(rv) = Exp_mask;
- word1(rv) = 0;
-#else
- word0(rv) = Big0;
- word1(rv) = Big1;
-#endif
-#endif
goto ret;
}
if (e1 >>= 4) {