aboutsummaryrefslogtreecommitdiff
path: root/softfloat/softfloat_state.c
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2011-06-19 20:47:29 -0700
committerAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2011-06-19 20:47:29 -0700
commit77452a26e7d95d29dbaa797595ae683f03a3345b (patch)
treee7aaae682f73a20ceb4d3366528b0cd38378f49d /softfloat/softfloat_state.c
parent740f981cfd55604d46598144dccac26dd53f643c (diff)
downloadspike-77452a26e7d95d29dbaa797595ae683f03a3345b.zip
spike-77452a26e7d95d29dbaa797595ae683f03a3345b.tar.gz
spike-77452a26e7d95d29dbaa797595ae683f03a3345b.tar.bz2
temporary undoing of renaming
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;
+