Compiler Error C3198

 

invalid use of floating-point pragmas: fenv_access pragma operates only in precise mode

fenv_access pragma was used under an /fp setting other than /fp:precise.

The following sample generates C3198:

// C3198.cpp
// compile with: /fp:fast
#pragma fenv_access(on)   // C3198
Show: