From bc019ef21034f2b580a0f953c42c50c1034375c3 Mon Sep 17 00:00:00 2001 From: Ranjith Kumaran Date: Thu, 24 Feb 2000 16:48:28 +0000 Subject: Thu Feb 24 11:43:00 2000 Ran Cabell * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS. * libm/mathfp/sf_atan.c: Ditto. Thu Feb 24 11:39:00 2000 Joel Sherrill * libc/include/sys/stat.h: Add RTEMS prototype for lstat. --- newlib/libm/mathfp/sf_atan.c | 2 +- newlib/libm/mathfp/sf_atan2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'newlib/libm/mathfp') 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); } -- cgit v1.2.3