diff options
Diffstat (limited to 'newlib/libm')
-rw-r--r-- | newlib/libm/mathfp/sf_atan.c | 2 | ||||
-rw-r--r-- | newlib/libm/mathfp/sf_atan2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libm/mathfp/sf_atan.c b/newlib/libm/mathfp/sf_atan.c index 26be2fafa..f0f522076 100644 --- a/newlib/libm/mathfp/sf_atan.c +++ b/newlib/libm/mathfp/sf_atan.c @@ -39,7 +39,7 @@ _DEFUN (atanf, (float), #ifdef _DOUBLE_IS_32BITS double atan (double x) { - return (double) atangentf ((float) x, 0); + return (double) atangentf ((float) x, 0, 0, 0); } #endif /* defined(_DOUBLE_IS_32BITS) */ diff --git a/newlib/libm/mathfp/sf_atan2.c b/newlib/libm/mathfp/sf_atan2.c index f3237a5e6..69c612354 100644 --- a/newlib/libm/mathfp/sf_atan2.c +++ b/newlib/libm/mathfp/sf_atan2.c @@ -26,7 +26,7 @@ _DEFUN (atan2f, (float, float), } #ifdef _DOUBLE_IS_32BITS -double atan2f (double v, double u) +double atan2 (double v, double u) { return (double) atangentf (0.0, (float) v, (float) u, 1); } |