แก้ไข

แชร์ผ่าน


/Qfast_transcendentals (Force fast transcendentals)

Generates inline code for transcendental functions.

Syntax

/Qfast_transcendentals

Remarks

This compiler option forces transcendental functions to be converted to inline code to improve execution speed. This option has an effect only when paired with /fp:except or /fp:precise. Generating inline code for transcendental functions is already the default behavior under /fp:fast.

This option is incompatible with /fp:strict. For more information about floating point compiler options, see /fp (Specify Floating-Point Behavior).

To set this compiler option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Set C++ compiler and build properties in Visual Studio.

  2. Select the Configuration Properties > C/C++ > Command Line property page.

  3. Type the compiler option in the Additional Options box.

To set this compiler option programmatically

See also

/Q Options (Low-level operations)
MSVC compiler options
MSVC compiler command-line syntax