diff options
Diffstat (limited to '4.2.c')
-rw-r--r-- | 4.2.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,10 +71,10 @@ atof(const char str[]) if (e_sign < 0) for (j = 0; j < e_power; j++) - power *= 10; + power *= 10.0; else for (j = 0; j < e_power; j++) - power /= 10; + power /= 10.0; return (sign * val / power); } |