#include <intfloat.h>
This structure is used to map an integer and a floating point value to the same memory location. A stucture is used since gcc outputs a warning if you do something like *((Int64*)&myFloat64Value).
Public Member Functions | |
| IntFloat64 ()=default | |
| IntFloat64 (Int64 a) | |
| IntFloat64 (UInt64 a) | |
| IntFloat64 (Float64 a) | |
| const IntFloat64 & | operator= (const IntFloat64 &other) | 
| UInt64 | GetUInt () const | 
Public Attributes | |
| union { | |
| Int64 i | |
| Float64 f | |
| }; | |
Friends | |
| Bool | operator== (const IntFloat64 &a, const IntFloat64 &b) | 
| Bool | operator!= (const IntFloat64 &a, const IntFloat64 &b) | 
      
  | 
  default | 
      
  | 
  explicit | 
      
  | 
  explicit | 
      
  | 
  explicit | 
| const IntFloat64& operator= | ( | const IntFloat64 & | other | ) | 
| UInt64 GetUInt | ( | ) | const | 
      
  | 
  friend | 
      
  | 
  friend | 
| Int64 i | 
| Float64 f | 
| union { ... } |