Download TASKING VX-toolset for ARM User Guide

Transcript
TASKING VX-toolset for ARM User Guide
feholdexept
Saves the current floating-point environment and installs an environment
that ignores all floating-point exceptions. (Not implemented)
fesetenv
Restores a previously saved (fegetenv or feholdexcept) floating-point
environment. (Not implemented)
feupdateenv
Saves the currently raised floating-point exceptions, restores a previously
saved floating-point environment and finally raises the saved exceptions.
(Not implemented)
feclearexcept
Clears the current exception status flags corresponding to the flags specified
in the argument. (Not implemented)
fegetexceptflag
Stores the current setting of the floating-point status flags. (Not implemented)
feraiseexcept
Raises the exceptions represented in the argument. As a result, other
exceptions may be raised as well.
(Not implemented)
fesetexceptflag
Sets the current floating-point status flags.
(Not implemented)
fetestexcept
Returns the bitwise-OR of the exception macros corresponding to the
exception 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_OVERFLOW
FE_INEXACT
FE_UNDERFLOW
FE_INVALID
FE_ALL_EXCEPT
fegetround
Returns the current rounding direction, represented as one of the values of
the rounding direction macros.
(Not implemented)
fesetround
Sets the current rounding directions. (Not implemented)
Currently no rounding mode macros are implemented.
14.2.9. float.h
The header file float.h defines the characteristics of the real floating-point types float, double and
long double.
float.h used to contain prototypes for the functions copysign(f), isinf(f), isfinite(f),
isnan(f) and scalb(f). These functions have accordingly to the ISO C99 standard been moved
to the header file math.h. See also Section 14.2.16, math.h and tgmath.h.
The following functions are only available for ISO C90:
copysignf(float f,float s) Copies the sign of the second argument s to the value of the first
argument f and returns the result.
796