summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/strtod.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-05-28 17:03:12 +0000
committeralfred <alfred@FreeBSD.org>2002-05-28 17:03:12 +0000
commit1ee311b26d7122f860fe940db6ce46968981a9a3 (patch)
tree96c195652047b452e756960d6bdfc6786443c564 /lib/libc/stdlib/strtod.c
parentae40c00e1724fe7d6584623e3a953b6b44fc741f (diff)
downloadFreeBSD-src-1ee311b26d7122f860fe940db6ce46968981a9a3.zip
FreeBSD-src-1ee311b26d7122f860fe940db6ce46968981a9a3.tar.gz
Assume __STDC__, remove non-__STDC__ code.
Submitted by: keramida
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 9258d71..eaa7ad0 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) {
OpenPOWER on IntegriCloud