diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2005-02-24 18:50:06 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2005-02-24 18:50:06 +0000 |
commit | f4fd7b4c72428d56d4a43a6b04e6e5a6eae26c18 (patch) | |
tree | b5baa6317c0ac02455605a1d000134c512d644fc /newlib/libm | |
parent | f2f8a9a2298b14b59a6e6e2a675cc117e2cbe157 (diff) | |
download | newlib-f4fd7b4c72428d56d4a43a6b04e6e5a6eae26c18.zip newlib-f4fd7b4c72428d56d4a43a6b04e6e5a6eae26c18.tar.gz newlib-f4fd7b4c72428d56d4a43a6b04e6e5a6eae26c18.tar.bz2 |
2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
* libm/common/s_fpclassify.c: Use __uint32_t instead of int to
manipulate float values in integer form.
* libm/common/sf_round.c: Ditto.
Diffstat (limited to 'newlib/libm')
-rw-r--r-- | newlib/libm/common/s_fpclassify.c | 4 | ||||
-rw-r--r-- | newlib/libm/common/sf_round.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libm/common/s_fpclassify.c b/newlib/libm/common/s_fpclassify.c index 2820f03..111d709 100644 --- a/newlib/libm/common/s_fpclassify.c +++ b/newlib/libm/common/s_fpclassify.c @@ -9,7 +9,7 @@ int __fpclassifyf (float x) { - unsigned int w; + __uint32_t w; GET_FLOAT_WORD(w,x); @@ -30,7 +30,7 @@ __fpclassifyf (float x) int __fpclassifyd (double x) { - unsigned int msw, lsw; + __uint32_t msw, lsw; EXTRACT_WORDS(msw,lsw,x); diff --git a/newlib/libm/common/sf_round.c b/newlib/libm/common/sf_round.c index 75a72fe..db1cf54 100644 --- a/newlib/libm/common/sf_round.c +++ b/newlib/libm/common/sf_round.c @@ -19,7 +19,7 @@ #endif { int signbit; - int w; + __uint32_t w; /* Most significant word, least significant word. */ int exponent_less_127; |