diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2001-01-23 19:56:14 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2001-01-23 19:56:14 +0000 |
commit | 841081c9f2b3f3e8644452ca852c4e363f6becff (patch) | |
tree | af4d2a6085cb68600d10c0aa6ddf99000907957b /newlib | |
parent | e9cd87b82a1f798b379fbdae146c8dde11a3657e (diff) | |
download | newlib-841081c9f2b3f3e8644452ca852c4e363f6becff.zip newlib-841081c9f2b3f3e8644452ca852c4e363f6becff.tar.gz newlib-841081c9f2b3f3e8644452ca852c4e363f6becff.tar.bz2 |
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.
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. */ |