Static class for math functions. Besides cross platform issues, this also address version issues in MSVC. More...
#include <Math.h>
Static Public Member Functions | |
static double | E () |
static double | PI () |
static bool | IsINF (double d) |
static bool | IsNaN (double d) |
static int | Abs (int8 i) |
static int16 | Abs (int16 i) |
static int32 | Abs (int32 i) |
static int64 | Abs (int64 i) |
static float32 | Abs (float32 f) |
static float64 | Abs (float64 f) |
static Decimal | Abs (Decimal d) |
static double | Acos (double f) |
static float | Acos (float f) |
static double | Asin (double f) |
static float | Asin (float f) |
static double | Atan (double f) |
static float | Atan (float f) |
static double | Atan2 (double x, double y) |
static float | Atan2 (float x, float y) |
static double | Ceiling (double f) |
static float | Ceiling (float f) |
static double | Cos (double f) |
static float | Cos (float f) |
static double | Cosh (double f) |
static float | Cosh (float f) |
static double | Exp (double d) |
static float | Exp (float d) |
static double | Floor (double f) |
static float | Floor (float f) |
static double | Remainder (double x, double y) |
static float | Remainder (float x, float y) |
static double | Log (double d) |
static float | Log (float d) |
static double | Log (double d, double base) |
static float | Log (float d, float base) |
static double | Log10 (double d) |
static float | Log10 (float d) |
static int8 | Max (int8 a, int8 b) |
static byte | Max (byte a, byte b) |
static int16 | Max (int16 a, int16 b) |
static uint16 | Max (uint16 a, uint16 b) |
static int32 | Max (int32 a, int32 b) |
static uint32 | Max (uint32 a, uint32 b) |
static int64 | Max (int64 a, int64 b) |
static uint64 | Max (uint64 a, uint64 b) |
static float32 | Max (float32 a, float32 b) |
static double | Max (double a, double b) |
static Decimal | Max (Decimal a, Decimal b) |
static int8 | Min (int8 a, int8 b) |
static byte | Min (byte a, byte b) |
static int16 | Min (int16 a, int16 b) |
static uint16 | Min (uint16 a, uint16 b) |
static int32 | Min (int32 a, int32 b) |
static uint32 | Min (uint32 a, uint32 b) |
static int64 | Min (int64 a, int64 b) |
static uint64 | Min (uint64 a, uint64 b) |
static float32 | Min (float32 a, float32 b) |
static double | Min (double a, double b) |
static Decimal | Min (Decimal a, Decimal b) |
static double | Pow (double d, double e) |
static float | Pow (float d, float e) |
static double | Round (double d) |
static float | Round (float d) |
static double | Round (double d, int dec) |
static float | Round (float d, int dec) |
static Decimal | Round (Decimal d) |
static int | Sign (int8 i) |
static int | Sign (int16 i) |
static int | Sign (int32 i) |
static int | Sign (int64 i) |
static int | Sign (float32 f) |
static int | Sign (double d) |
static int | Sign (Decimal d) |
static double | Sin (double d) |
static float | Sin (float d) |
static double | Sinh (double d) |
static float | Sinh (float d) |
static double | Sqrt (double d) |
static float | Sqrt (float d) |
static double | Tan (double d) |
static float | Tan (float d) |
static double | Tanh (double d) |
static float | Tanh (float d) |
static void | InitRandom () |
static double | Random () |
static int | RandomInt () |
static int | RandomRange (int max) |
static bool | IsPrime (const int n) |
static int | NextPrime (const int n) |
static int32 | Hash (const int64 i) |
static int32 | Hash (const int32 i) |
static int32 | Hash (const int16 i) |
static int32 | Hash (const int8 i) |
static int32 | Hash (const uint64 i) |
static int32 | Hash (const uint32 i) |
static int32 | Hash (const uint16 i) |
static int32 | Hash (const uint8 i) |
static int32 | Hash (const float32 i) |
static int32 | Hash (const float64 i) |
static int32 | Hash (const char *cp) |
static int32 | Hash (const IHashable &i) |
static int32 | Hash (const IHashable *i) |
Static class for math functions. Besides cross platform issues, this also address version issues in MSVC.
Definition at line 68 of file Math.h.