ScummVM API documentation
Common::XPFloat Struct Reference

Public Types

enum  Semantics { kSemanticsMC68881, kSemanticsSANE = kSemanticsMC68881 }
 

Public Member Functions

 XPFloat (uint16 signAndExponent, uint64 mantissa)
 
void toDoubleSafe (double &result, bool &outOverflowed, Semantics semantics=kSemanticsMC68881) const
 
void toDoubleBitsSafe (uint64 &result, bool &outOverflowed, Semantics semantics=kSemanticsMC68881) const
 
double toDouble (Semantics semantics=kSemanticsMC68881) const
 

Static Public Member Functions

static XPFloat fromDouble (double value, Semantics semantics=kSemanticsMC68881)
 
static XPFloat fromDoubleBits (uint64 value, Semantics semantics=kSemanticsMC68881)
 

Public Attributes

uint16 signAndExponent
 
uint64 mantissa
 

The documentation for this struct was generated from the following file: