aboutsummaryrefslogtreecommitdiff
path: root/softfloat/softfloat_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'softfloat/softfloat_state.c')
-rwxr-xr-xsoftfloat/softfloat_state.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/softfloat/softfloat_state.c b/softfloat/softfloat_state.c
new file mode 100755
index 0000000..8859089
--- /dev/null
+++ b/softfloat/softfloat_state.c
@@ -0,0 +1,19 @@
+
+/*** COMMENTS. ***/
+
+#include <stdint.h>
+#include "platform.h"
+#include "internals.h"
+#include "specialize.h"
+#include "softfloat.h"
+
+/*----------------------------------------------------------------------------
+| Floating-point rounding mode, extended double-precision rounding precision,
+| and exception flags.
+*----------------------------------------------------------------------------*/
+int_fast8_t softfloat_roundingMode = softfloat_round_nearest_even;
+int_fast8_t softfloat_detectTininess = init_detectTininess;
+int_fast8_t softfloat_exceptionFlags = 0;
+
+int_fast8_t floatx80_roundingPrecision = 80;
+