Sun Studio 12: C User's Guide

B.2.20 -flteval[={any|2}]

(x86) Use this option to control how floating point expression are evaluated.

Table B–7 The -flteval Flags

Flag 

Meaning  

2

Floating point expressions are evaluated as long double. 

any

Floating point expressions are evaluated depending on the combination of the types of the variables and constants that make up an expression. 

If you do not specify -flteval, the compiler sets it to -flteval=any. If you do specify -flteval, but do not provide a value, the compiler sets it to -flteval=2.

You must not specify the following options in combination with -flteval=2:

See also D.1.1 Precision of Floating Point Evaluators.