shithub: femtolisp

Download patch

ref: f4ac95ac1ac2169be77bb140732f8d1c978d076d
parent: 1878642275a4b7d07a91dbcad32902a060466a62
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Tue Dec 24 11:59:58 EST 2024

ieee854: not using long double, remove it

--- a/ieee754.h
+++ b/ieee754.h
@@ -39,25 +39,3 @@
 };
 
 #define IEEE754_DOUBLE_BIAS 0x3ff
-
-union ieee854_long_double {
-	long double d;
-
-	struct {
-#if BYTE_ORDER == BIG_ENDIAN
-	unsigned int negative:1;
-	unsigned int exponent:15;
-	unsigned int empty:16;
-	unsigned int mantissa0:32;
-	unsigned int mantissa1:32;
-#else
-	unsigned int mantissa1:32;
-	unsigned int mantissa0:32;
-	unsigned int exponent:15;
-	unsigned int negative:1;
-	unsigned int empty:16;
-#endif
-	}ieee;
-};
-
-#define IEEE854_LONG_DOUBLE_BIAS 0x3fff