aboutsummaryrefslogtreecommitdiff
path: root/fpu
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-31 16:17:52 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-31 16:17:52 +0000
commit924b2c07cdfaba9ac408fc5fa77da75a570f9dc5 (patch)
tree048de733f0f80c7b1d3b8fd2037128b60363dff8 /fpu
parent471ea271435cb87a158fc473fb1cd7a45d2fc4d3 (diff)
Add proper float*_is_nan prototypes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2902 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'fpu')
-rw-r--r--fpu/softfloat.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fpu/softfloat.h b/fpu/softfloat.h
index 21100c0d06..f344d2ea50 100644
--- a/fpu/softfloat.h
+++ b/fpu/softfloat.h
@@ -242,8 +242,8 @@ int float32_le_quiet( float32, float32 STATUS_PARAM );
int float32_lt_quiet( float32, float32 STATUS_PARAM );
int float32_compare( float32, float32 STATUS_PARAM );
int float32_compare_quiet( float32, float32 STATUS_PARAM );
+int float32_is_nan( float32 );
int float32_is_signaling_nan( float32 );
-int float64_is_nan( float64 a );
INLINE float32 float32_abs(float32 a)
{
@@ -293,6 +293,7 @@ int float64_le_quiet( float64, float64 STATUS_PARAM );
int float64_lt_quiet( float64, float64 STATUS_PARAM );
int float64_compare( float64, float64 STATUS_PARAM );
int float64_compare_quiet( float64, float64 STATUS_PARAM );
+int float64_is_nan( float64 a );
int float64_is_signaling_nan( float64 );
INLINE float64 float64_abs(float64 a)
@@ -336,6 +337,7 @@ int floatx80_lt( floatx80, floatx80 STATUS_PARAM );
int floatx80_eq_signaling( floatx80, floatx80 STATUS_PARAM );
int floatx80_le_quiet( floatx80, floatx80 STATUS_PARAM );
int floatx80_lt_quiet( floatx80, floatx80 STATUS_PARAM );
+int floatx80_is_nan( floatx80 );
int floatx80_is_signaling_nan( floatx80 );
INLINE floatx80 floatx80_abs(floatx80 a)
@@ -383,6 +385,7 @@ int float128_lt( float128, float128 STATUS_PARAM );
int float128_eq_signaling( float128, float128 STATUS_PARAM );
int float128_le_quiet( float128, float128 STATUS_PARAM );
int float128_lt_quiet( float128, float128 STATUS_PARAM );
+int float128_is_nan( float128 );
int float128_is_signaling_nan( float128 );
INLINE float128 float128_abs(float128 a)