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 | |
parent | 759e2a88450f97545b996c53868a27d52e0ea8c8 (diff) | |
download | newlib-bc019ef21034f2b580a0f953c42c50c1034375c3.zip newlib-bc019ef21034f2b580a0f953c42c50c1034375c3.tar.gz newlib-bc019ef21034f2b580a0f953c42c50c1034375c3.tar.bz2 |
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')
-rw-r--r-- | newlib/ChangeLog | 11 | ||||
-rw-r--r-- | newlib/libc/include/sys/stat.h | 1 | ||||
-rw-r--r-- | newlib/libm/mathfp/sf_atan.c | 2 | ||||
-rw-r--r-- | newlib/libm/mathfp/sf_atan2.c | 2 |
4 files changed, 13 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 0ec30c5..6adf4f4 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,12 @@ +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. + Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net> * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be @@ -118,7 +127,7 @@ Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com> patch from Corinna Vinschen <corinna@vinschen.de> * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16. -Mon Jan 03 14:36:00 2000 Ranjith Kumaran <ranjith@cygnus.com> +Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru> * libm/mathfp/s_atangent.c: Fix exponent calculation. * libm/mathfp/s_ldexp.c: Ditto. diff --git a/newlib/libc/include/sys/stat.h b/newlib/libc/include/sys/stat.h index 31dfaf4..5c419b7 100644 --- a/newlib/libc/include/sys/stat.h +++ b/newlib/libc/include/sys/stat.h @@ -126,6 +126,7 @@ mode_t _EXFUN(umask,( mode_t __mask )); #if defined(__rtems__) int _EXFUN(mknod,( const char *_path, mode_t _mode, dev_t dev )); +int _EXFUN(lstat,( const char *__path, struct stat *__buf )); #endif /* Provide prototypes for most of the _<systemcall> names that are diff --git a/newlib/libm/mathfp/sf_atan.c b/newlib/libm/mathfp/sf_atan.c index 26be2fa..f0f5220 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 f3237a5..69c6123 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); } |