#include <cmath>
#include <limits>
#include <typeinfo>
#include <algorithm>
#include <stdint.h>
#include "version.h"
Go to the source code of this file.
Macros |
#define | M_PI 3.1415926535897932 |
#define | M_PI_2 1.5707963267948966 |
#define | M_TWO_PI (M_PI * 2.0) |
#define | M_1_PI 0.318309886183790671538 |
#define | M_2_PI 0.63661977236758134 |
#define | M_SQRT2 1.414135623730950 |
#define | M_SQRT1_2 0.7071067811865475 |
#define | M_LN2 0.6931471805599453 |
#define | M_LN10 2.3025850929940457 |
#define | HUGE_FLOAT ((float)1.0e38) |
#define | UNINITIALIZED_FLOAT (- std::numeric_limits<float>::max()) |
Detailed Description
A variety of floating-point math helper routines (and, slight misnomer, some int stuff as well).