/* (c) Copyright 2019 Joel Sherrill >---clear floating-point exception INDEX feclearexcept SYNOPSIS #include int feclearexcept(int <[except]>); Link with -lm. DESCRIPTION This method attempts to clear the floating-point exceptions specified in <[except]>. RETURNS If the <[except]> argument is zero or all requested exceptions were successfully cleared, 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. */ #include #include /* * This is a non-functional implementation that should be overridden * by an architecture specific implementation in newlib/libm/machine/ARCH. */ int feclearexcept(int excepts) { return (excepts ? -ENOTSUP : 0); }