Using the GNU Compiler Collection (GCC): Floating point implementation |
---|
Next: Arrays and pointers implementation, Previous: Integers implementation, Up: C Implementation [Contents][Index]
<math.h>
and <complex.h>
that return floating-point
results (C90, C99 and C11 5.2.4.2.2).
The accuracy is unknown.
FLT_ROUNDS
(C90, C99 and C11 5.2.4.2.2).
GCC does not use such values.
FLT_EVAL_METHOD
(C99 and C11 5.2.4.2.2).
GCC does not use such values.
C99 Annex F is followed.
C99 Annex F is followed.
C99 Annex F is followed.
FP_CONTRACT
pragma (C99 and C11 6.5).
Expressions are currently only contracted if -ffp-contract=fast, -funsafe-math-optimizations or -ffast-math are used. This is subject to change.
FENV_ACCESS
pragma (C99 and C11
7.6.1).
This pragma is not implemented, but the default is to “off” unless -frounding-math is used in which case it is “on”.
This is dependent on the implementation of the C library, and is not defined by GCC itself.
FP_CONTRACT
pragma (C99 and C11
7.12.2).
This pragma is not implemented. Expressions are currently only contracted if -ffp-contract=fast, -funsafe-math-optimizations or -ffast-math are used. This is subject to change.
This is dependent on the implementation of the C library, and is not defined by GCC itself.
This is dependent on the implementation of the C library, and is not defined by GCC itself.
Next: Arrays and pointers implementation, Previous: Integers implementation, Up: C Implementation [Contents][Index]