fenv.5 (2010 09)
f
fenv(5) fenv(5)
FE_DEC_TOWARDZERO
The round-toward-zero decimal rounding direction mode.
FE_DEC_TONEARESTFROMZERO
The round-to-nearest decimal rounding direction mode with ties (half-way
cases) away from zero.
To use any of the types or macros for decimal floating point, define
__STDC_WANT_DEC_FP__
,
either with a
-D__STDC_WANT_DEC_FP__
compile option, or with
#define __STDC_WANT_DEC_FP__
in the source file before inclusion of
<fenv.h>.
FILES
/usr/include/fenv.h
SEE ALSO
fe_dec_getround(3M), fe_dec_setround(3M), feclearexcept(3M), fegetexceptflag(3M), feraiseexcept(3M),
fesetexceptflag(3M), fetestexcept(3M), fegetround(3M), fesetround(3M), fegetenv(3M), feholdexcept(3M),
fesetenv(3M), feupdateenv(3M), fegetflushtozero(3M), fesetflushtozero(3M), fegettrapenable(3M),
fesettrapenable(3M), math(5).
STANDARDS CONFORMANCE
<fenv.h> : ISO/IEC C99 (including Annex F, "IEC 60559 floating-point arithmetic"), ISO/IEC TR 24732
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010