fesetround#

Change the floating-point rounding direction.

Synopsis#

use POSIX qw(fesetround FE_DOWNWARD);
fesetround(FE_DOWNWARD);

What you get back#

0 on success, non-zero if the requested mode is not supported.

Differences from upstream#

Fully compatible with upstream POSIX.