class Geo::GeoFpControl
Sets the state of the floating point control word, and restores the original value when the object is destroyed.
Functions
Name | Description |
---|---|
~GeoFpControl() | Destructor. |
GeoFpControl(bool, bool) | Constructor. |
Geo::GeoFpControl::~GeoFpControl
public: ~GeoFpControl()
Destructor.
Geo::GeoFpControl::GeoFpControl
public: GeoFpControl
(
bool highPrecision,
bool enableDenormals
)
Constructor.
Sets precision mode.
Note
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.
Parameters
[in] | highPrecision | Enable high precision. |
[in] | enableDenormals | Represent denormal numbers. |