/* (c) Copyright 2019 Joel Sherrill #include /* FUNCTION <>---raise floating-point exception INDEX feraiseexcept SYNOPSIS #include int feraiseexcept(int <[excepts]>); Link with -lm. DESCRIPTION This method attempts to raise the floating-point exceptions specified in <[excepts]>. RETURNS If the <[excepts]> argument is zero or all requested exceptions were successfully raised, 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 feraiseexcept(int excepts) { return (excepts ? -ENOTSUP : 0); }