diff options
Diffstat (limited to 'softfloat/f32_isSignalingNaN.cc')
-rwxr-xr-x | softfloat/f32_isSignalingNaN.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/softfloat/f32_isSignalingNaN.cc b/softfloat/f32_isSignalingNaN.cc new file mode 100755 index 0000000..09aaa82 --- /dev/null +++ b/softfloat/f32_isSignalingNaN.cc @@ -0,0 +1,16 @@ + +#include <stdbool.h> +#include "platform.h" +#include "internals.h" +#include "specialize.h" +#include "softfloat.h" + +bool f32_isSignalingNaN( float32_t a ) +{ + union ui32_f32 uA; + + uA.f = a; + return softfloat_isSigNaNF32UI( uA.ui ); + +} + |