From bc019ef21034f2b580a0f953c42c50c1034375c3 Mon Sep 17 00:00:00 2001 From: Ranjith Kumaran Date: Thu, 24 Feb 2000 16:48:28 +0000 Subject: [PATCH] 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/ChangeLog | 11 ++++++++++- newlib/libc/include/sys/stat.h | 1 + newlib/libm/mathfp/sf_atan.c | 2 +- newlib/libm/mathfp/sf_atan2.c | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 0ec30c530..6adf4f4d8 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,12 @@ +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. + Tue Feb 22 14:37:00 2000 Ran Cabell * 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 patch from Corinna Vinschen * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16. -Mon Jan 03 14:36:00 2000 Ranjith Kumaran +Mon Jan 03 14:36:00 2000 Sergei Organov * 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 31dfaf49f..5c419b713 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 _ names that are 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); } -- 2.43.5