aboutsummaryrefslogtreecommitdiff
path: root/softfloat_riscv/softfloat_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'softfloat_riscv/softfloat_types.h')
-rwxr-xr-xsoftfloat_riscv/softfloat_types.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/softfloat_riscv/softfloat_types.h b/softfloat_riscv/softfloat_types.h
new file mode 100755
index 0000000..9fada89
--- /dev/null
+++ b/softfloat_riscv/softfloat_types.h
@@ -0,0 +1,16 @@
+
+#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;
+
+#endif
+