fimf-absolute-error, Qimf-absolute-error

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

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-fimf-absolute-error=value[:funclist]

Windows:

/Qimf-absolute-error:value[:funclist]

Arguments

value

Is a positive, floating-point number indicating the maximum allowable absolute error the compiler should use.

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.

Default

0 (zero)

The compiler uses default heuristics when calling math library functions.

An absolute-error setting of 0 means that the function is bound by the relative error setting. This is the default behavior.

Description

This option defines the maximum allowable absolute error for math library function results.

This option can improve run-time performance, but it may decrease the accuracy of results.

This option only affects functions that have zero as a possible return value, such as log, sin, asin, etc.

The relative error requirements for a particular function are determined by options that set max-error and precision. The return value from a function must have a relative error less than the max-error value, or an absolute error less than the absolute-error value.

Note iconNote

Many routines in libraries libm (Math Library) and svml (Short Vector Math Library) are more highly optimized for Intel® microprocessors than for non-Intel microprocessors.

Alternate Options

None

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.