diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-08-16 16:14:04 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-08-16 16:14:04 -0400 |
commit | 661f59838235815b5073a0ef95f410003639519e (patch) | |
tree | 28eb14bc8053bb32abd7c103c4078ab4f81b6129 /src/float/FLT_ROUNDS.h | |
parent | e223e635cc53fa11e473cdbc864eb69a3da5f290 (diff) |
rename non-compiled files to *.h
Diffstat (limited to 'src/float/FLT_ROUNDS.h')
-rw-r--r-- | src/float/FLT_ROUNDS.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/float/FLT_ROUNDS.h b/src/float/FLT_ROUNDS.h new file mode 100644 index 00000000..8fefb48e --- /dev/null +++ b/src/float/FLT_ROUNDS.h @@ -0,0 +1,22 @@ +#include <float.h> + extern int fegetround(void); +#define FLT_ROUNDS fegetround() + +/** rounding direction **/ + +/*** +describes the rounding mode of floating-point addition used by the +implementation. It is not necessarily constant. +***/ + +/* +VALUE_SELECT(-1, indeterminable) +VALUE_SELECT(0, toward zero) +VALUE_SELECT(1, to nearest) +VALUE_SELECT(2, toward positive infinity) +VALUE_SELECT(3, toward negative infinity) +SEE_ALSO(FUNCTION(fegetround)) +*/ +/* +STDC(1) +*/ |