| |||
| Home > Assembler command line options > Assembler command line options > --fpmode=model | |||
This option specifies the floating-point model, and sets library attributes and floating-point optimizations to select the most suitable library when linking.
This does not cause any changes to the code that you write.
can be
one of:model
noneSource code is not permitted to use any floating-point
type or floating point instruction. This option overrides any explicit
--fpu=name option.
ieee_fullAll facilities, operations, and representations guaranteed by the IEEE standard are available in single and double-precision. Modes of operation can be selected dynamically at runtime.
ieee_fixedIEEE standard with round-to-nearest and no inexact exception.
ieee_no_fenvIEEE standard with round-to-nearest and no exceptions. This mode is compatible with the Java floating-point arithmetic model.
stdIEEE finite values with denormals flushed to zero, round-to-nearest and no exceptions. It is C and C++ compatible. This is the default option.
Finite values are as predicted by the IEEE standard. It is not guaranteed that NaNs and infinities are produced in all circumstances defined by the IEEE model, or that when they are produced, they have the same sign. Also, it is not guaranteed that the sign of zero is that predicted by the IEEE model.
fastSome value altering optimizations, where accuracy is sacrificed to fast execution. This is not IEEE compatible, and is not standard C.