diff options
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/math.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 90437ba..1b3ed8c 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,10 @@ 2001-01-23 Jeff Johnston <jjohnstn@redhat.com> + * libc/include/math.h (signgam): Changed to a macro refering to + its location in the reentrant structure. + +2001-01-23 Jeff Johnston <jjohnstn@redhat.com> + * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix that suppressed . for %.0f, 0.1. Check now looks if there are padding zeroes (expt) in addition to any digits (ndig) to diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index f092aff..fe57b1b 100644 --- a/newlib/libc/include/math.h +++ b/newlib/libc/include/math.h @@ -186,7 +186,7 @@ extern float dremf _PARAMS((float, float)); /* The gamma functions use a global variable, signgam. */ -extern __IMPORT int signgam; +#define signgam (_impure_ptr->_new._reent._gamma_signgam) /* The exception structure passed to the matherr routine. */ |