aboutsummaryrefslogtreecommitdiff
path: root/softfloat/f64_add.c
diff options
context:
space:
mode:
Diffstat (limited to 'softfloat/f64_add.c')
-rwxr-xr-xsoftfloat/f64_add.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/softfloat/f64_add.c b/softfloat/f64_add.c
deleted file mode 100755
index 9ec4b5f..0000000
--- a/softfloat/f64_add.c
+++ /dev/null
@@ -1,29 +0,0 @@
-
-#include <stdbool.h>
-#include <stdint.h>
-#include "platform.h"
-#include "internals.h"
-#include "softfloat.h"
-
-float64_t f64_add( float64_t a, float64_t b )
-{
- union ui64_f64 uA;
- uint_fast64_t uiA;
- bool signA;
- union ui64_f64 uB;
- uint_fast64_t uiB;
- bool signB;
- float64_t ( *magsRoutine )( uint_fast64_t, uint_fast64_t, bool );
-
- uA.f = a;
- uiA = uA.ui;
- signA = signF64UI( uiA );
- uB.f = b;
- uiB = uB.ui;
- signB = signF64UI( uiB );
- magsRoutine =
- ( signA == signB ) ? softfloat_addMagsF64 : softfloat_subMagsF64;
- return magsRoutine( uiA, uiB, signA );
-
-}
-