
Go to the source code of this file.
Macros | |
| #define | STR_TO_DECIMAL(x) |
| #define | DECIMAL(x) |
| #define | DECIMAL_M_E ((decimal) M_E) /* e */ |
| #define | DECIMAL_M_LOG2E ((decimal) M_LOG2E) /* log_2 e */ |
| #define | DECIMAL_M_LOG10E ((decimal) M_LOG10E) /* log_10 e */ |
| #define | DECIMAL_M_LN2 ((decimal) M_LN2) /* log_e 2 */ |
| #define | DECIMAL_M_LN10 ((decimal) M_LN10) /* log_e 10 */ |
| #define | DECIMAL_M_PI ((decimal) M_PI) /* pi */ |
| #define | DECIMAL_M_PI_2 ((decimal) M_PI_2) /* pi/2 */ |
| #define | DECIMAL_M_PI_4 ((decimal) M_PI_4) /* pi/4 */ |
| #define | DECIMAL_M_1_PI ((decimal) M_1_PI) /* 1/pi */ |
| #define | DECIMAL_M_2_PI ((decimal) M_2_PI) /* 2/pi */ |
| #define | DECIMAL_M_2_SQRTPI ((decimal) M_2_SQRTPI) /* 2/sqrt(pi) */ |
| #define | DECIMAL_M_SQRT2 ((decimal) M_SQRT2) /* sqrt(2) */ |
| #define | DECIMAL_M_SQRT1_2 ((decimal) M_SQRT1_2) /* 1/sqrt(2) */ |
| #define | DECIMAL_POW(base, power) |
| #define | DECIMAL_SQRT(x) |
| #define | DECIMAL_LOG(x) |
| #define | DECIMAL_EXP(x) |
| #define | DECIMAL_ERF(x) |
| #define | DECIMAL_ROUND(x) |
| #define | DECIMAL_CEIL(x) |
| #define | DECIMAL_FLOOR(x) |
| #define | DECIMAL_ABS(x) |
| #define | DECIMAL_SIN(x) |
| #define | DECIMAL_COS(x) |
| #define | DECIMAL_TAN(x) |
| #define | DECIMAL_ASIN(x) |
| #define | DECIMAL_ACOS(x) |
| #define | DECIMAL_ATAN(x) |
| #define | DECIMAL_ATAN2(x, y) |
| #define | DECIMAL_HYPOT(x, y) |
Typedefs | |
| typedef double | decimal |
| #define DECIMAL | ( | x | ) |
Definition at line 18 of file decimal.hpp.
| #define DECIMAL_ABS | ( | x | ) |
Definition at line 46 of file decimal.hpp.
| #define DECIMAL_ACOS | ( | x | ) |
Definition at line 53 of file decimal.hpp.
| #define DECIMAL_ASIN | ( | x | ) |
Definition at line 52 of file decimal.hpp.
| #define DECIMAL_ATAN | ( | x | ) |
Definition at line 54 of file decimal.hpp.
| #define DECIMAL_ATAN2 | ( | x, | |
| y ) |
Definition at line 55 of file decimal.hpp.
| #define DECIMAL_CEIL | ( | x | ) |
Definition at line 44 of file decimal.hpp.
| #define DECIMAL_COS | ( | x | ) |
Definition at line 50 of file decimal.hpp.
| #define DECIMAL_ERF | ( | x | ) |
Definition at line 40 of file decimal.hpp.
| #define DECIMAL_EXP | ( | x | ) |
Definition at line 39 of file decimal.hpp.
| #define DECIMAL_FLOOR | ( | x | ) |
Definition at line 45 of file decimal.hpp.
| #define DECIMAL_HYPOT | ( | x, | |
| y ) |
Definition at line 58 of file decimal.hpp.
| #define DECIMAL_LOG | ( | x | ) |
Definition at line 38 of file decimal.hpp.
| #define DECIMAL_M_1_PI ((decimal) M_1_PI) /* 1/pi */ |
Definition at line 29 of file decimal.hpp.
| #define DECIMAL_M_2_PI ((decimal) M_2_PI) /* 2/pi */ |
Definition at line 30 of file decimal.hpp.
| #define DECIMAL_M_2_SQRTPI ((decimal) M_2_SQRTPI) /* 2/sqrt(pi) */ |
Definition at line 31 of file decimal.hpp.
| #define DECIMAL_M_E ((decimal) M_E) /* e */ |
Definition at line 21 of file decimal.hpp.
| #define DECIMAL_M_LN10 ((decimal) M_LN10) /* log_e 10 */ |
Definition at line 25 of file decimal.hpp.
| #define DECIMAL_M_LN2 ((decimal) M_LN2) /* log_e 2 */ |
Definition at line 24 of file decimal.hpp.
| #define DECIMAL_M_LOG10E ((decimal) M_LOG10E) /* log_10 e */ |
Definition at line 23 of file decimal.hpp.
| #define DECIMAL_M_LOG2E ((decimal) M_LOG2E) /* log_2 e */ |
Definition at line 22 of file decimal.hpp.
| #define DECIMAL_M_PI ((decimal) M_PI) /* pi */ |
Definition at line 26 of file decimal.hpp.
| #define DECIMAL_M_PI_2 ((decimal) M_PI_2) /* pi/2 */ |
Definition at line 27 of file decimal.hpp.
| #define DECIMAL_M_PI_4 ((decimal) M_PI_4) /* pi/4 */ |
Definition at line 28 of file decimal.hpp.
| #define DECIMAL_M_SQRT1_2 ((decimal) M_SQRT1_2) /* 1/sqrt(2) */ |
Definition at line 33 of file decimal.hpp.
| #define DECIMAL_M_SQRT2 ((decimal) M_SQRT2) /* sqrt(2) */ |
Definition at line 32 of file decimal.hpp.
| #define DECIMAL_POW | ( | base, | |
| power ) |
Definition at line 36 of file decimal.hpp.
| #define DECIMAL_ROUND | ( | x | ) |
Definition at line 43 of file decimal.hpp.
| #define DECIMAL_SIN | ( | x | ) |
Definition at line 49 of file decimal.hpp.
| #define DECIMAL_SQRT | ( | x | ) |
Definition at line 37 of file decimal.hpp.
| #define DECIMAL_TAN | ( | x | ) |
Definition at line 51 of file decimal.hpp.
| #define STR_TO_DECIMAL | ( | x | ) |
Definition at line 9 of file decimal.hpp.
| typedef double decimal |
Definition at line 8 of file decimal.hpp.