Sun Studio 12: C User's Guide

A.1.4 Numerics and Floating Point Options

Table A–4 Numerics and Floating Point Options Table

Option  

Action  

-flteval

(x86) Controls floating point evaluation.

-fma

(SPARC) Enables automatic generation of floating-point, fused, multiply-add instructions. 

-fnonstd

Causes nonstandard initialization of floating-point arithmetic hardware.

-fns

(SPARC) Turns on the SPARC nonstandard floating-point mode.

-fprecision

(x86) Initializes the rounding-precision mode bits in the Floating-point Control Word

-fround

Sets the IEEE 754 rounding mode that is established at runtime during the program initialization.

-fsimple

Allows the optimizer to make simplifying assumptions concerning floating-point arithmetic.

-fsingle

Causes the compiler to evaluate float expressions as single precision rather than double precision.

-fstore

(x86) Causes the compiler to convert the value of a floating-point expression or function to the type on the left-hand side of an assignment

-ftrap

Sets the IEEE 754 trapping mode in effect at startup.

-nofstore

(x86) Does not convert the value of a floating-point expression or function to the type on the left-hand side of an assignment

-xdepend

(SPARC) Analyzes loops for inter-iteration data dependencies and does loop restructuring.

-xlibmieee

Forces IEEE 754 style return values for math routines in exceptional cases.

-xopenmp

(SPARC) Supports the OpenMP interface for explicit parallelization including a set of source code directives, run-time library routines, and environment variables

-xsfpconst

Represents unsuffixed floating-point constants as single precision

-xvector

Enable automatic generation of calls to the vector library functions.