aboutsummaryrefslogtreecommitdiff
path: root/softfloat/softfloat_state.c
blob: 8859089ddec2863f7f30884f2707a3707f3bc807 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;