/* (c) Copyright 2019 Joel Sherrill #include /* FUNCTION <>---get floating-point status flags INDEX fegetexceptflag SYNOPSIS #include int fegetexceptflag(fexcept_t *<[flagp]>, int <[excepts]>); Link with -lm. DESCRIPTION This method attempts to store an implementation-defined representation of the states of the floating-point status flags specified by <[excepts]> in the memory pointed to by <[flagp]>. RETURNS If the information was successfully returned, 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 fegetexceptflag(fexcept_t *flagp, int excepts) { return -ENOTSUP; }