diff --git a/src/stdlib/strtod.c b/src/stdlib/strtod.c index 08ff74a..51e5a92 100644 --- a/src/stdlib/strtod.c +++ b/src/stdlib/strtod.c @@ -60,7 +60,9 @@ static struct { char *s; double f; } t[] = { -// {"-.00000", -0.0}, + {"0", 0.0}, + {"00.00", 0.0}, + {"-.00000", -0.0}, {"1e+1000000", INFINITY}, {"1e-1000000", 0}, // 2^-1074 * 0.5 - eps