/* (c) Copyright 2019 Joel Sherrill #include /* FUNCTION <>---set current rounding direction INDEX fesetround SYNOPSIS #include int fesetround(int <[round]>); Link with -lm. DESCRIPTION This method attempts to set the current rounding direction represented by <[round]>. <[round]> must be the value of one of the rounding-direction macros. RETURNS If the rounding mode was successfully established, this method returns zero. Otherwise, a non-zero value is returned. PORTABILITY ANSI C requires <>. Not all Newlib targets have a working implementation. Refer to the file <> to see the status for your target. */ /* * This is a non-functional implementation that should be overridden * by an architecture specific implementation in newlib/libm/machine/ARCH. */ int fesetround(int round) { return -ENOTSUP; }