Developer Guide and Reference

Contents

fp-trap, Qfp-trap

Sets the floating-point trapping mode for the main routine.

Syntax

Linux:
-fp-trap
=
mode
[
,
mode
,...
]
macOS:
-fp-trap
=
mode
[
,
mode
,...
]
Windows:
/Qfp-trap
:
mode
[
,
mode
,...
]
Arguments
mode
Is the floating-point trapping mode. If you specify more than one mode value, the list is processed sequentially from left to right. Possible values are:
[no]divzero
Enables or disables the IEEE trap for division by zero.
[no]inexact
Enables or disables the IEEE trap for inexact result.
[no]invalid
Enables or disables the IEEE trap for invalid operation.
[no]overflow
Enables or disables the IEEE trap for overflow.
[no]underflow
Enables or disables the IEEE trap for underflow.
[n