/* (c) Copyright 2019 Joel Sherrill #include /* FUNCTION <>---test floating-point exception flags INDEX fetestexcept SYNOPSIS #include int fetestexcept(int <[except]>); Link with -lm. DESCRIPTION This method test the current floating-point exceptions to determine which of those specified in <[except]> are currently set. RETURNS This method returns the bitwise-inclusive OR of the floating point exception macros which correspond to the currently set floating point exceptions. 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 fetestexcept(int excepts) { (void) excepts; return 0; }