Navigation

Operators and Keywords

Function List:

C++ API

fenv

On supported architectures, change the rounding mode of the floating point arithmetics (to nearest, up, down, to zero) or change the precision of the arithmetical operations (single, double, double extended). Experimentally test the properties of the floating point arithmetics.

Select category:

Test floating point environment

fetestenv
Check some properties of floating point arithmetics: the rounding mode and the machine epsilon, as seen by Octave's interpreted code (ROUND and MACHEPS, respectively) and, if requested, as seen by BLA

Change floating point environment

fesetround
Change the rounding mode of the floating point arithmetics.
fesetprec
Change the precision of the floating point arithmetics.
fe_system_dependent
Function usage fe_system_dependent (("rounding" ("zero"|"up"|"down"|"normal")+)|("precision" ("single"|"double"|"double ext")+)+
system_dependent
This function is intentionally left undocumented.