diff options
author | Andrew Waterman <andrew@sifive.com> | 2018-07-11 01:16:28 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2018-07-11 01:16:28 -0700 |
commit | 5cd8d2b93fad2011fdf8f49a263d77697af35b32 (patch) | |
tree | f6fb9cb6d3bef2aa5c9903511b92e5a6e99e9519 /softfloat/8086/s_f32UIToCommonNaN.c | |
parent | 8e69141749065ff957383d2112768f95a33429b6 (diff) | |
download | pk-5cd8d2b93fad2011fdf8f49a263d77697af35b32.zip pk-5cd8d2b93fad2011fdf8f49a263d77697af35b32.tar.gz pk-5cd8d2b93fad2011fdf8f49a263d77697af35b32.tar.bz2 |
Upgrade to SoftFloat 3e
Diffstat (limited to 'softfloat/8086/s_f32UIToCommonNaN.c')
-rwxr-xr-x | softfloat/8086/s_f32UIToCommonNaN.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/softfloat/8086/s_f32UIToCommonNaN.c b/softfloat/8086/s_f32UIToCommonNaN.c deleted file mode 100755 index c50937c..0000000 --- a/softfloat/8086/s_f32UIToCommonNaN.c +++ /dev/null @@ -1,27 +0,0 @@ -// See LICENSE.SoftFloat for license details. - -
-#include <stdint.h>
-#include "platform.h"
-#include "specialize.h"
-#include "softfloat.h"
-
-/*----------------------------------------------------------------------------
-| Returns the result of converting the single-precision floating-point NaN
-| `a' to the canonical NaN format. If `a' is a signaling NaN, the invalid
-| exception is raised.
-*----------------------------------------------------------------------------*/
-struct commonNaN softfloat_f32UIToCommonNaN( uint_fast32_t uiA )
-{
- struct commonNaN z;
-
- if ( softfloat_isSigNaNF32UI( uiA ) ) {
- softfloat_raiseFlags( softfloat_flag_invalid );
- }
- z.sign = uiA>>31;
- z.v64 = (uint_fast64_t) uiA<<41;
- z.v0 = 0;
- return z;
-
-}
-
|