Honeycomb
0.1
Component-Model Framework
|
Numeric type info for floating point types. More...
#include <Numeral.h>
Public Types | |
typedef Info::Int | Int |
Integer representation of type. More... | |
typedef Info::Real | Real |
Real representation of type. More... | |
typedef Info::Real_ | Real_ |
Real operations and constants class. More... | |
Public Member Functions | |
constexpr T | min () const |
Minimum possible value for type. More... | |
constexpr T | max () const |
Maximum possible value for type. More... | |
constexpr T | smallest () const |
Smallest representable value (close to zero) More... | |
constexpr T | epsilon () const |
Smallest value such that 1.0 + epsilon != 1.0. More... | |
constexpr T | inf () const |
Infinity. ie. 1.0 / 0.0. More... | |
constexpr T | nan () const |
Not a number. ie. 0.0 / 0.0, sqrt(-1) More... | |
Static Public Attributes | |
static const int | sizeBits = sizeof(T)*8 |
Size of type in bits. More... | |
Numeric type info for floating point types.
typedef Info::Int honey::NumeralFloat< T >::Int |
Integer representation of type.
typedef Info::Real honey::NumeralFloat< T >::Real |
Real representation of type.
typedef Info::Real_ honey::NumeralFloat< T >::Real_ |
Real operations and constants class.
|
inline |
Smallest value such that 1.0 + epsilon != 1.0.
|
inline |
Infinity. ie. 1.0 / 0.0.
|
inline |
Maximum possible value for type.
|
inline |
Minimum possible value for type.
|
inline |
Not a number. ie. 0.0 / 0.0, sqrt(-1)
|
inline |
Smallest representable value (close to zero)
|
static |
Size of type in bits.