From c67ff09a3f010b481751a0b6983239217062703d Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 13 Jun 2022 11:30:45 +0530 Subject: add till 4.6 --- 4.2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '4.2.c') diff --git a/4.2.c b/4.2.c index 5739824..2f797f0 100644 --- a/4.2.c +++ b/4.2.c @@ -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); } -- cgit v1.2.3