Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / math / doc / constants / constants.qbk
index 4811f6c..b359223 100644 (file)
@@ -302,19 +302,20 @@ This section lists the mathematical constants, their use(s) (and sometimes ratio
 [[three_quarters] [3/4] [0.75] [] ]
 
 [[[*two and related]] [] [] [] ]
-[[root_two] [[radic]2] [1.41421] [] ]
+[[root_two] [[radic]2] [1.41421] [Equivalent to POSIX constant M_SQRT2] ]
 [[root_three] [[radic]3] [1.73205] [] ]
 [[half_root_two] [[radic]2 /2] [0.707106] [] ]
-[[ln_two] [ln(2)] [0.693147] [] ]
-[[ln_ten] [ln(10)] [2.30258] [] ]
+[[ln_two] [ln(2)] [0.693147] [Equivalent to POSIX constant M_LN2] ]
+[[ln_ten] [ln(10)] [2.30258] [Equivalent to POSIX constant M_LN10] ]
 [[ln_ln_two] [ln(ln(2))] [-0.366512] [Gumbel distribution median] ]
 [[root_ln_four] [[radic]ln(4)] [1.177410] [] ]
-[[one_div_root_two] [1/[radic]2] [0.707106] [] ]
+[[one_div_root_two] [1/[radic]2] [0.707106] [Equivalent to POSIX constant M_SQRT1_2] ]
 
 [[[*[pi] and related]] [] [] [] ]
-[[pi] [pi] [3.14159] [Ubiquitous. Archimedes constant [@http://en.wikipedia.org/wiki/Pi [pi]]]]
-[[half_pi] [[pi]/2] [1.570796] [] ]
+[[pi] [pi] [3.14159] [Ubiquitous. Archimedes constant [@http://en.wikipedia.org/wiki/Pi [pi]].  Equivalent to POSIX constant M_PI]]
+[[half_pi] [[pi]/2] [1.570796] [Equivalent to POSIX constant M_PI2] ]
 [[third_pi] [[pi]/3] [1.04719] [] ]
+[[quarter_pi] [[pi]/4] [0.78539816] [Equivalent to POSIX constant M_PI_4] ]
 [[sixth_pi] [[pi]/6] [0.523598] [] ]
 [[two_pi] [2[pi]] [6.28318] [Many uses, most simply, circumference of a circle]]
 [[two_thirds_pi] [2/3 [pi]] [2.09439] [[@http://en.wikipedia.org/wiki/Sphere#Volume_of_a_sphere volume of a hemi-sphere] = 4/3 [pi] r[cubed]]]
@@ -324,7 +325,10 @@ This section lists the mathematical constants, their use(s) (and sometimes ratio
 [[root_pi] [[radic][pi]][1.77245] [Widely used]]
 [[root_half_pi] [[radic] [pi]/2] [1.25331] [Widely used]]
 [[root_two_pi][[radic] [pi]*2] [2.50662] [Widely used]]
+[[one_div_pi] [1/[pi]] [0.31830988] [Equivalent to POSIX constant M_1_PI] ]
+[[two_div_pi] [2/[pi]] [0.63661977] [Equivalent to POSIX constant M_2_PI] ]
 [[one_div_root_pi] [1/[radic][pi]] [0.564189] [] ]
+[[two_div_root_pi] [2/[radic][pi]] [1.128379] [Equivalent to POSIX constant M_2_SQRTPI] ]
 [[one_div_root_two_pi] [1/[radic](2[pi])] [0.398942] [] ]
 [[root_one_div_pi] [[radic](1/[pi]] [0.564189] [] ]
 [[pi_minus_three] [[pi]-3] [0.141593] [] ]
@@ -338,12 +342,13 @@ This section lists the mathematical constants, their use(s) (and sometimes ratio
 [[one_div_cbrt_pi] [1/[radic][super 3] [pi]] [0.682784] [] ]
 
 [[[*Euler's e and related]] [] [] [] ]
-[[e] [e] [2.71828] [[@http://en.wikipedia.org/wiki/E_(mathematical_constant) Euler's constant e]] ]
+[[e] [e] [2.71828] [[@http://en.wikipedia.org/wiki/E_(mathematical_constant) Euler's constant e], equivalent to POSIX constant M_E] ]
 [[exp_minus_half] [e [super -1/2]] [0.606530] [] ]
 [[e_pow_pi] [e [super [pi]]] [23.14069] [] ]
 [[root_e] [[radic] e] [1.64872] [] ]
-[[log10_e] [log10(e)] [0.434294] [] ]
+[[log10_e] [log10(e)] [0.434294] [Equivalent to POSIX constant M_LOG10E] ]
 [[one_div_log10_e] [1/log10(e)] [2.30258] [] ]
+[[log2_e] [log[sub 2](e)] [1.442695] [This is the same as 1/ln(2) and is equivalent to POSIX constant M_LOG2E] ]
 
 [[[*Trigonometric]] [] [] [] ]
 [[degree] [radians = [pi] / 180] [0.017453] [] ]