summaryrefslogtreecommitdiffstats
path: root/newlib/libm/common/s_fpclassify.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2005-02-24 18:50:06 +0000
committerJeff Johnston <jjohnstn@redhat.com>2005-02-24 18:50:06 +0000
commitf4fd7b4c72428d56d4a43a6b04e6e5a6eae26c18 (patch)
treeb5baa6317c0ac02455605a1d000134c512d644fc /newlib/libm/common/s_fpclassify.c
parentf2f8a9a2298b14b59a6e6e2a675cc117e2cbe157 (diff)
downloadcygnal-f4fd7b4c72428d56d4a43a6b04e6e5a6eae26c18.tar.gz
cygnal-f4fd7b4c72428d56d4a43a6b04e6e5a6eae26c18.tar.bz2
cygnal-f4fd7b4c72428d56d4a43a6b04e6e5a6eae26c18.zip
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/common/s_fpclassify.c')
-rw-r--r--newlib/libm/common/s_fpclassify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libm/common/s_fpclassify.c b/newlib/libm/common/s_fpclassify.c
index 2820f0373..111d70923 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);