Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
more::math::numbers Namespace Reference
Numerical constants.
More...
Variables
- const double e = 2.7182818284590452354
- const double log2_e = 1.4426950408889634074
- const double log2_10 = 3.32192809488736234789
- const double log_2 = 0.69314718055994530942
- const double log_10 = 2.30258509299404568402
- const double log10_2 = 0.30102999566398119521
- const double log10_e = 0.43429448190325182765
- const double log_p_2_pi = 1.837877066409345
- const double pi = 3.14159265358979323846
- const double p_4_pi = 12.56637061435917
- const double p_2_pi = 6.28318530717958647692
- const double sqrt_pi = 1.77245385090551602729
- const double f_pi_2 = 1.57079632679489661923
- const double f_pi_4 = 0.78539816339744830962
- const double f_1_pi = 0.31830988618379067154
- const double f_2_pi = 0.63661977236758134308
- const double f_2_sqrt_pi = 1.12837916709551257390
- const double sqrt_2 = 1.41421356237309504880
- const double f_1_sqrt_2 = 0.70710678118654752440
- const double f_1_6 = 0.16666666666666666667
- const double f_1_3 = 0.33333333333333333333
- const double eulC = 0.57721566490153286061
- const double catG = 0.915965594
Detailed Description
Numerical constants.
The names of the constants are created in the following way.
Operators and numbers are separated by spaces. Operators applies to the following item(s). Binary operators are
f
— fraction p
— product x
— exponentiation; x_a_b
means pow(a, b)
To express two binary operators applied to three arguments we use pp_x_y_z
instead of p_p_x_y_z
or p_x_p_y_z
, etc.
If unary operators, like log
is followed by a number (before the underscore) it belongs to the operator, and in the case of log
, specifies the base. Unary operators are sqrt
(square root), log
, log2
, log10
(logarithms)
Variable Documentation
const double more::math::numbers::catG = 0.915965594
|
|
const double more::math::numbers::e = 2.7182818284590452354
|
|
const double more::math::numbers::eulC = 0.57721566490153286061
|
|
const double more::math::numbers::f_1_3 = 0.33333333333333333333
|
|
const double more::math::numbers::f_1_6 = 0.16666666666666666667
|
|
const double more::math::numbers::f_1_pi = 0.31830988618379067154
|
|
const double more::math::numbers::f_1_sqrt_2 = 0.70710678118654752440
|
|
const double more::math::numbers::f_2_pi = 0.63661977236758134308
|
|
const double more::math::numbers::f_2_sqrt_pi = 1.12837916709551257390
|
|
const double more::math::numbers::f_pi_2 = 1.57079632679489661923
|
|
const double more::math::numbers::f_pi_4 = 0.78539816339744830962
|
|
const double more::math::numbers::log10_2 = 0.30102999566398119521
|
|
const double more::math::numbers::log10_e = 0.43429448190325182765
|
|
const double more::math::numbers::log2_10 = 3.32192809488736234789
|
|
const double more::math::numbers::log2_e = 1.4426950408889634074
|
|
const double more::math::numbers::log_10 = 2.30258509299404568402
|
|
const double more::math::numbers::log_2 = 0.69314718055994530942
|
|
const double more::math::numbers::log_p_2_pi = 1.837877066409345
|
|
const double more::math::numbers::p_2_pi = 6.28318530717958647692
|
|
const double more::math::numbers::p_4_pi = 12.56637061435917
|
|
const double more::math::numbers::pi = 3.14159265358979323846
|
|
const double more::math::numbers::sqrt_2 = 1.41421356237309504880
|
|
const double more::math::numbers::sqrt_pi = 1.77245385090551602729
|
|
Generated on Sat Sep 7 19:12:59 2002 for more with Doxygen
1.2.13.1. Doxygen 1.2.13.1 is written and copyright
1997-2002 by Dimitri van
Heesch.