Name
feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, fetestexcept
- C99 floating point rounding and exception handling
Library
libm.lib
Synopsis
|
int
feclearexcept (int excepts);
|
|
int
fegetexceptflag (fexcept_t *flagp, int excepts);
|
|
int
feraiseexcept (int excepts);
|
|
int
fesetexceptflag (const fexcept_t *flagp, int excepts);
|
|
int
fetestexcept (int excepts);
|
Return values
These functions don’t serve any purpose, as long as there is no math co-processor in the phones.
If there is a hardware FPU, the above function will works as follows:
the
feclearexcept,
fegetexceptflag,
feraiseexcept,
and
fesetexceptflag
functions return 0 upon success, and non-zero otherwise.
The
fetestexcept
function returns the bitwise OR of the values of the current exception
flags that were requested.
Detailed description
These functios are expanded as blank definitions as there is no
hardware floating point phones in Series 60 phones.
If there is a hardware floating point unit, These functions will be expanded as
ARM inline assembly codes. This is controlled by flag ARM_HARD_FLOAT.
See also
fegetenv
Feedback
For additional information or queries on this page send feedback
© 2005-2007 Nokia
|
|