Sets the state of the floating point control word, and restores the original value when the object is destroyed.
Name | Description |
---|---|
~GeoFpControl() | Destructor. |
GeoFpControl(bool, bool) | Constructor. |
public: ~GeoFpControl()
Destructor.
public: GeoFpControl
(
bool highPrecision,
bool enableDenormals
)
Constructor.
Sets precision mode.
On supported consoles, the highPrecision and enableDenormals flags are ignored, and the mode is always set to FTZ|DAZ for performance. The original mode is always preserved and returned to after this object is destroyed. |
[in] | highPrecision | Enable high precision. |
[in] | enableDenormals | Represent denormal numbers. |