/Qfast_transcendentals (Force Fast Transcendentals)


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at -Qfast_transcendentals (Force Fast Transcendentals).

Generates inline code for transcendental functions.


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. See /fp (Specify Floating-Point Behavior) for more information about floating point compiler options.

To set this compiler option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see How to: Open Project Property Pages.

  2. Click the C/C++ folder.

  3. Click the Command Line property page.

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

To set this compiler option programmatically

/Q Options (Low-Level Operations)
Compiler Options
Setting Compiler Options