diff options
author | Ranjith Kumaran <ranjith@cygnus.com> | 2000-02-24 16:48:28 +0000 |
---|---|---|
committer | Ranjith Kumaran <ranjith@cygnus.com> | 2000-02-24 16:48:28 +0000 |
commit | bc019ef21034f2b580a0f953c42c50c1034375c3 (patch) | |
tree | 185c194c5847163a9816eb2de72c639ff337144e /newlib/libm | |
parent | 759e2a88450f97545b996c53868a27d52e0ea8c8 (diff) | |
download | cygnal-bc019ef21034f2b580a0f953c42c50c1034375c3.tar.gz cygnal-bc019ef21034f2b580a0f953c42c50c1034375c3.tar.bz2 cygnal-bc019ef21034f2b580a0f953c42c50c1034375c3.zip |
Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
* 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 <joel@OARcorp.com>
* libc/include/sys/stat.h: Add RTEMS prototype for lstat.
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); } |