13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>feholdexeptfesetenvfeupdateenvfeclearexceptfegetexceptflagferaiseexceptfesetexceptflagfetestexceptSaves the current floating-point environment and installs an environmentthat ignores all floating-point exceptions. (Not implemented)Restores a previously saved (fegetenv or feholdexcept) floating-pointenvironment. (Not implemented)Saves the currently raised floating-point exceptions, restores a previouslysaved floating-point environment and finally raises the saved exceptions.(Not implemented)Clears the current exception status flags corresponding to the flags specifiedin the argument. (Not implemented)Stores the current setting of the floating-point status flags. (Not implemented)Raises the exceptions represented in the argument. As a result, otherexceptions may be raised as well.(Not implemented)Sets the current floating-point status flags.(Not implemented)Returns the bitwise-OR of the exception macros corresponding to theexception flags which are currently set and are specified in the argument.(Not implemented)For each supported exception, a macro is defined. The following exceptions are defined:FE_DIVBYZERO FE_INEXACT FE_INVALIDFE_OVERFLOW FE_UNDERFLOW FE_ALL_EXCEPTfegetroundfesetroundReturns the current rounding direction, represented as one of the values ofthe rounding direction macros.(Not implemented)Sets the current rounding directions. (Not implemented)Currently no rounding mode macros are implemented.13.2.9. float.hThe header file float.h defines the characteristics of the real floating-point types float, double andlong double.float.h used to contain prototypes <strong>for</strong> the functions copysign(f), isinf(f), isfinite(f),isnan(f) and scalb(f). These functions have accordingly to the ISO C99 standard been movedto the header file math.h. See also Section 13.2.16, math.h and tgmath.h.The following functions are only available <strong>for</strong> ISO C90:copysignf(float f,float s)Copies the sign of the second argument s to the value of the firstargument f and returns the result.746

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!