aboutsummaryrefslogtreecommitdiff
path: root/softfloat/softfloat_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'softfloat/softfloat_types.h')
-rwxr-xr-xsoftfloat/softfloat_types.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/softfloat/softfloat_types.h b/softfloat/softfloat_types.h
new file mode 100755
index 0000000..215f5e3
--- /dev/null
+++ b/softfloat/softfloat_types.h
@@ -0,0 +1,19 @@
+
+#ifndef softfloat_types_h
+#define softfloat_types_h
+
+/*** COMMENTS. ***/
+
+#include <stdbool.h>
+#include <stdint.h>
+
+typedef uint32_t float32_t;
+typedef uint64_t float64_t;
+typedef struct { uint64_t v; uint16_t x; } floatx80_t;
+typedef struct { uint64_t v[ 2 ]; } float128_t;
+
+#define INLINE inline
+#define INLINE_LEVEL 1
+
+#endif
+