Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Geo::GeoFpControl

Sets the state of the floating point control word, and restores the original value when the object is destroyed.

Functions

NameDescription
~GeoFpControl()

Destructor.

GeoFpControl(bool, bool)

Constructor.


Anchor
a943b667e38ab2a2903e9462d2020dc63
a943b667e38ab2a2903e9462d2020dc63

Geo::GeoFpControl::~GeoFpControl

...

public: ~GeoFpControl()

...

Destructor.


Anchor
ab10f1678d32debdfa788072b864ee618
ab10f1678d32debdfa788072b864ee618

Geo::GeoFpControl::GeoFpControl

...

public: GeoFpControl
(
    bool highPrecision,
    bool enableDenormals
)

...

Constructor.

Sets precision mode.

Note
titleNote

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.