diff options
Diffstat (limited to 'src/lib9')
-rw-r--r-- | src/lib9/fmt/fltfmt.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib9/fmt/fltfmt.c b/src/lib9/fmt/fltfmt.c index 1db089cf..624f46a6 100644 --- a/src/lib9/fmt/fltfmt.c +++ b/src/lib9/fmt/fltfmt.c @@ -54,12 +54,9 @@ pow10(int n) neg = 0; if(n < 0){ - if(n < DBL_MIN_10_EXP) - return 0.; neg = 1; n = -n; - }else if(n > DBL_MAX_10_EXP) - return HUGE_VAL; + } if(n < npows10) d = pows10[n]; |