fe_dec_getround.3m (2010 09)

f
fe_dec_getround(3M) fe_dec_getround(3M)
save_round = fe_dec_getround();
fe_dec_setround(FE_DEC_UPWARD);
/*...*/
fe_dec_setround(save_round);
/*...*/
}
SEE ALSO
fe_dec_setround(3M), fenv(5).
STANDARDS CONFORMANCE
This function conforms to ISO/IEC TR 24732, "Extension for the programming language C to support
decimal floating-point arithmetic".
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010