|
@@ -21,6 +21,11 @@
|
|
|
|
|
|
|
|
const double MathNumbers::pi = 4.0 * atan(1.0);
|
|
const double MathNumbers::pi = 4.0 * atan(1.0);
|
|
|
const double MathNumbers::ln2 = log(2.0);
|
|
const double MathNumbers::ln2 = log(2.0);
|
|
|
|
|
+const double MathNumbers::rad_2_deg = 180.0 / MathNumbers::pi;
|
|
|
|
|
+const double MathNumbers::deg_2_rad = MathNumbers::pi / 180.0;
|
|
|
|
|
|
|
|
const float MathNumbers::pi_f = 4.0 * atan(1.0);
|
|
const float MathNumbers::pi_f = 4.0 * atan(1.0);
|
|
|
const float MathNumbers::ln2_f = log(2.0);
|
|
const float MathNumbers::ln2_f = log(2.0);
|
|
|
|
|
+const float MathNumbers::rad_2_deg_f = 180.0 / MathNumbers::pi;
|
|
|
|
|
+const float MathNumbers::deg_2_rad_f = MathNumbers::pi / 180.0;
|
|
|
|
|
+
|