fp-model, fp

Enable floating point model variation.

IDE Equivalent

Linux: Floating Point > Floating Point Model

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: -fp-model name
Windows:  /fp:name

Arguments

name     Possible values are:
  [no-]except [disable] enable floating-point semantics
  extended enables intermediates in 80-bit precision

 

fast

allows value-unsafe optimizations

 

precise

allows value-safe optimizations

 

source

enables intermediates in source precision

 

strict

enables /fp:precise /fp:except and disables floating point multiply add

 

Default

OFF  

Description

Enable floating point model variation. Note: -fp:fast and -fp:except are not allowed in the same compilation.

Alternate Options

None