file
TypeTraits.hClass Magnum::
Contents
 Reference
Namespaces
 namespace Magnum
 Root namespace.
 namespace Magnum::Math
 Math library.
Classes

template<class T>struct Magnum::Math::TypeTraits
 Traits class for numeric types.
Defines
 #define FLOAT_EQUALITY_PRECISION
 Precision when testing floats for equality.
 #define DOUBLE_EQUALITY_PRECISION
 Precision when testing doubles for equality.
 #define LONG_DOUBLE_EQUALITY_PRECISION
 Precision when testing long doubles for equality.
Define documentation
#define FLOAT_EQUALITY_PRECISION
Precision when testing floats for equality.
They have "at least" 6 significant digits of precision, taking one digit less for more headroom.
#define DOUBLE_EQUALITY_PRECISION
Precision when testing doubles for equality.
They have "at least" 15 significant digits of precision, taking one digit less for more headroom.
#define LONG_DOUBLE_EQUALITY_PRECISION
Precision when testing long doubles for equality.
They have "at least" 18 significant digits of precision, taking one digit less for more headroom.