csIEEEfloat Struct Reference
[Utilities]
Convert IEEE 32-bit floats from or to native machine floats. More...
#include <csutil/csendian.h>
Static Public Member Functions | |
static uint32 | FromNative (float f) |
Convert native to IEEE. | |
static uint64 | FromNative (double f) |
Convert native to IEEE. | |
static float | ToNative (uint32 f) |
Convert IEEE to native. | |
static double | ToNative (uint64 f) |
Convert IEEE to native. |
Detailed Description
Convert IEEE 32-bit floats from or to native machine floats.
Definition at line 167 of file csendian.h.
Member Function Documentation
static uint32 csIEEEfloat::FromNative | ( | float | f | ) | [inline, static] |
Convert native to IEEE.
Definition at line 174 of file csendian.h.
static uint64 csIEEEfloat::FromNative | ( | double | f | ) | [inline, static] |
Convert native to IEEE.
Definition at line 184 of file csendian.h.
static float csIEEEfloat::ToNative | ( | uint32 | f | ) | [inline, static] |
Convert IEEE to native.
Definition at line 198 of file csendian.h.
static double csIEEEfloat::ToNative | ( | uint64 | f | ) | [inline, static] |
Convert IEEE to native.
Definition at line 208 of file csendian.h.
The documentation for this struct was generated from the following file:
- csutil/csendian.h
Generated for Crystal Space 1.4.1 by doxygen 1.7.1