aboutsummaryrefslogtreecommitdiff
path: root/softfloat/ui32_to_f64.c
diff options
context:
space:
mode:
Diffstat (limited to 'softfloat/ui32_to_f64.c')
-rwxr-xr-xsoftfloat/ui32_to_f64.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/softfloat/ui32_to_f64.c b/softfloat/ui32_to_f64.c
deleted file mode 100755
index d0bd177..0000000
--- a/softfloat/ui32_to_f64.c
+++ /dev/null
@@ -1,26 +0,0 @@
-
-#include <stdint.h>
-#include "platform.h"
-#include "primitives.h"
-#include "internals.h"
-#include "softfloat.h"
-
-float64_t ui32_to_f64( uint_fast32_t a )
-{
- uint_fast64_t uiZ;
- int shiftCount;
- union ui64_f64 uZ;
-
- if ( ! a ) {
- uiZ = 0;
- } else {
- shiftCount = softfloat_countLeadingZeros32( a ) + 21;
- uiZ =
- packToF64UI(
- 0, 0x432 - shiftCount, (uint_fast64_t) a<<shiftCount );
- }
- uZ.ui = uiZ;
- return uZ.f;
-
-}
-