Commit Diff


commit - e47d0a1e98d8a77f0196764d3f7e682715793e1d
commit + 5400bd239cbde2f545a5c61079c2b784af6fa6f2
blob - 1db089cfc86c1f13a52e689aecc4f0ce3302a625
blob + 624f46a642078822ed4eeab0218f8a508b33c5e2
--- src/lib9/fmt/fltfmt.c
+++ 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];