/* (c) Copyright 2019 Joel Sherrill #include /* FUNCTION <>---get current rounding direction INDEX fegetround SYNOPSIS #include int fegetround(void); Link with -lm. DESCRIPTION This method returns the current rounding direction. RETURNS This method returns the rounding direction, corresponding to the value of the respective rouding macro. If the current rounding direction cannot be determined, then a negative 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 fegetround(void) { return -ENOTSUP; }