diff options
Diffstat (limited to 'softfloat_riscv/s_f64UIToCommonNaN.c')
-rwxr-xr-x | softfloat_riscv/s_f64UIToCommonNaN.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/softfloat_riscv/s_f64UIToCommonNaN.c b/softfloat_riscv/s_f64UIToCommonNaN.c deleted file mode 100755 index 84d8ca0..0000000 --- a/softfloat_riscv/s_f64UIToCommonNaN.c +++ /dev/null @@ -1,25 +0,0 @@ -
-#include <stdint.h>
-#include "platform.h"
-#include "specialize.h"
-#include "softfloat.h"
-
-/*----------------------------------------------------------------------------
-| Returns the result of converting the double-precision floating-point NaN
-| `a' to the canonical NaN format. If `a' is a signaling NaN, the invalid
-| exception is raised.
-*----------------------------------------------------------------------------*/
-struct commonNaN softfloat_f64UIToCommonNaN( uint_fast64_t uiA )
-{
- struct commonNaN z;
-
- if ( softfloat_isSigNaNF64UI( uiA ) ) {
- softfloat_raiseFlags( softfloat_flag_invalid );
- }
- z.sign = uiA>>63;
- z.v64 = (uint_fast64_t) 0xFFFFFFFFFFFFF <<12;
- z.v0 = 0;
- return z;
-
-}
-
|