Mistake in 'mathfp/sf_sqrt.c'.

Sergei Organov osv@javad.ru
Mon Mar 13 04:19:00 GMT 2000


Hello,

Here is the diff that fixes simple mistake:

--- mathfp/sf_sqrt.c.old        Thu Feb 17 22:39:52 2000
+++ mathfp/sf_sqrt.c    Mon Mar 13 15:11:56 2000
@@ -94,7 +94,7 @@
 
 double sqrt (double x)
 {
-  return (double) sqrt ((float) x);
+  return (double) sqrtf ((float) x);
 }
 
 #endif /* _DOUBLE_IS_32BITS */



More information about the Newlib mailing list