From 77452a26e7d95d29dbaa797595ae683f03a3345b Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Sun, 19 Jun 2011 20:47:29 -0700 Subject: temporary undoing of renaming --- softfloat_riscv/s_isSigNaNF32UI.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 softfloat_riscv/s_isSigNaNF32UI.c (limited to 'softfloat_riscv/s_isSigNaNF32UI.c') diff --git a/softfloat_riscv/s_isSigNaNF32UI.c b/softfloat_riscv/s_isSigNaNF32UI.c new file mode 100755 index 0000000..0a9c33f --- /dev/null +++ b/softfloat_riscv/s_isSigNaNF32UI.c @@ -0,0 +1,13 @@ + +#include +#include +#include "platform.h" +#include "specialize.h" + +bool softfloat_isSigNaNF32UI( uint_fast32_t ui ) +{ + + return ( ( ui>>22 & 0x1FF ) == 0x1FE ) && ( ui & 0x003FFFFF ); + +} + -- cgit v1.1