8859089ddec2863f7f30884f2707a3707f3bc807
[riscv-isa-sim.git] / softfloat / softfloat_state.c
1
2 /*** COMMENTS. ***/
3
4 #include <stdint.h>
5 #include "platform.h"
6 #include "internals.h"
7 #include "specialize.h"
8 #include "softfloat.h"
9
10 /*----------------------------------------------------------------------------
11 | Floating-point rounding mode, extended double-precision rounding precision,
12 | and exception flags.
13 *----------------------------------------------------------------------------*/
14 int_fast8_t softfloat_roundingMode = softfloat_round_nearest_even;
15 int_fast8_t softfloat_detectTininess = init_detectTininess;
16 int_fast8_t softfloat_exceptionFlags = 0;
17
18 int_fast8_t floatx80_roundingPrecision = 80;
19