JavaSolarisCommunitiesAbout SunHow to BuyMy AccountCartUnited StatesWorldwide
Sun Microsystems Documentation
docs.sun.com
Browse Documentation Titles
Browse Product Documentation
Help

Numeric and Floating-Point Options by Language

C Numeric and Floating-Point Options

Option Meaning
-flteval Controls how floating point expressions are evaluated.
-fma Enables automatic generation of floating-point, fused, multiply-add instructions.
-fnonstd This option is a macro for -fns and -ftrap=common.
-fns Enables the nonstandard floating-point mode on SPARC and selects SSE flush-to-zero mode and, where available, denormals-are-zero mode for x86.
-fprecision Sets floating-point rounding precision mode.
-fround Sets the IEEE rounding mode in effect at startup.
-fsimple Selects floating-point optimization preferences.
-fsingle (-Xt and -Xs modes only) Causes the compiler to evaluate float expressions as single precision, rather than double precision.
-fstore Forces precision of floating-point expressions.
-ftrap Sets the IEEE trapping mode in effect at startup but does not install a SIGFPE handler.
-nofstore Disables forced precision of expression.
-xdepend Analyzes loops for inter-iteration data dependencies and performs loop restructuring.
-xlibmieee Causes libm to return IEEE 754 values for math routines in exceptional cases.
-xopenmp Enable explicit parallelization with OpenMP directives.
-xsfpconst Represents unsuffixed floating-point constants as single precision, instead of the default mode of double precision.
-xvector Enables automatic generation of calls to the vector library and/or the generation of the SIMD (Single Instruction Multiple Data) instructions.

C++ Numeric and Floating-Point Options

Option Meaning
-fma Enables automatic generation of floating-point, fused, multiply-add instructions.
-fnonstd Causes hardware traps to be enabled for floating-point overflow, division by zero, and invalid operations exceptions.
-fns Enables the nonstandard floating-point mode on SPARC and selects SSE flush-to-zero mode and, where available, denormals-are-zero mode for x86.
-fprecision Sets floating-point rounding precision mode.
-fround Sets the IEEE rounding mode in effect at startup.
-fsimple Selects floating-point optimization preferences.
-fstore Forces precision of floating-point expressions.
-ftrap Sets the IEEE trapping mode in effect at startup but does not install a SIGFPE handler.
-nofstore Disables forced precision of expression.
-xdepend Analyzes loops for inter-iteration data dependencies and performs loop restructuring.
-xlibmieee Causes libm to return IEEE 754 values for math routines in exceptional cases.
-xopenmp Enable explicit parallelization with OpenMP directives.
-xvector Enables automatic generation of calls to the vector library and/or the generation of the SIMD (Single Instruction Multiple Data) instructions.

F95 Numeric and Floating-Point Options

Option Meaning
-fma Enables automatic generation of floating-point, fused, multiply-add instructions.
-fnonstd Causes hardware traps to be enabled for floating-point overflow, division by zero, and invalid operations exceptions.
-fns Enables the nonstandard floating-point mode on SPARC and selects SSE flush-to-zero mode and, where available, denormals-are-zero mode for x86.
-fprecision Sets floating-point rounding precision mode.
-fround Sets the IEEE rounding mode in effect at startup.
-fsimple Selects floating-point optimization preferences.
-fstore Forces precision of floating-point expressions.
-ftrap Sets the IEEE trapping mode in effect at startup but does not install a SIGFPE handler.
-nofstore Disables forced precision of expression.
-xdepend Analyzes loops for inter-iteration data dependencies and performs loop restructuring.
-xopenmp Enable explicit parallelization with OpenMP directives.
-xvector Enables automatic generation of calls to the vector library and/or the generation of the SIMD (Single Instruction Multiple Data) instructions.

ContactAbout SunNewsEmploymentSite MapPrivacyTerms of UseTrademarksCopyright Sun Microsystems, Inc.