Developer Guide and Reference

Contents

fimf-absolute-error, Qimf-absolute-error

Defines the maximum allowable absolute error for math library function results.

Syntax

Linux:
-fimf-absolute-error
=
value
[
:
funclist
]
macOS:
-fimf-absolute-error
=
value
[
:
funclist
]
Windows:
/Qimf-absolute-error
:
value
[
:
funclist
]
Arguments
value
Is a positive, floating-point number. Errors in math library function results may exceed the maximum relative error (max-error) setting if the absolute-error is less than or equal to
value
.
The format for the number is [digits] [.digits] [ { e | E }[sign]digits]
funclist
Is an optional list of one or more math library functions to which the attribute should be applied. If you specify more than one function, they must be separated with commas.
Precision-specific variants like sin and sinf are considered different functions, so you would need to use
-fimf-absolute-error=0.00001:sin,sinf
(or
/Qimf-absolute-error:0.00001:sin,sinf
) to specify the maximum allowable absolute error for both the single-precision and double-precision sine functions.
You also can specify the symbol /f to denote single-precision divides, symbol / to denote double-precision divides, symbol /l to denote extended-precision divides, and symbol /q to denote quad-precision divides. For exam