Boost logo

Boost-Commit :

From: steven_watanabe_at_[hidden]
Date: 2007-05-31 15:22:50


Author: steven_watanabe
Date: 2007-05-31 15:22:49 EDT (Thu, 31 May 2007)
New Revision: 4393
URL: http://svn.boost.org/trac/boost/changeset/4393

Log:
Remove tabs

Text files modified:
   sandbox/units/libs/units/example/unit_example_19.cpp | 279 +++++++++++++++------------------------
   sandbox/units/libs/units/example/unit_example_21.cpp | 38 -----
   sandbox/units/libs/units/example/unit_example_4.cpp | 12
   sandbox/units/libs/units/test/test_conversion.cpp | 12 -
   4 files changed, 124 insertions(+), 217 deletions(-)

Modified: sandbox/units/libs/units/example/unit_example_19.cpp
==============================================================================
--- sandbox/units/libs/units/example/unit_example_19.cpp (original)
+++ sandbox/units/libs/units/example/unit_example_19.cpp 2007-05-31 15:22:49 EDT (Thu, 31 May 2007)
@@ -24,206 +24,150 @@
 
 Universal constants:
 
-c : 2.9979245800000e+08 (exact) m s^(-1)
-mu_0 : 1.2566370614359e-06 (exact) m kg s^(-2) A^(-2)
-epsilon_0 : 8.8541878176204e-12 (exact) m^(-3) kg^(-1) s^4 A^2
-Z_0 : 3.7673031346177e+02 (exact) m^2 kg s^(-3) A^(-2)
-G : 6.6742800000000e-11 (rel. unc. = 1.0e-04) m^3 kg^(-1) s^(-2)
-h : 6.6260689600000e-34 (rel. unc. = 5.0e-08) m^2 kg s^(-1)
-hbar : 1.0545716280000e-34 (rel. unc. = 5.0e-08) m^2 kg s^(-1)
-m_P : 2.1764400000000e-08 (rel. unc. = 5.1e-05) kg
-T_P : 1.4167850000000e+32 (rel. unc. = 5.0e-05) K
-l_P : 1.6162520000000e-35 (rel. unc. = 5.0e-05) m
-t_P : 5.3912400000000e-44 (rel. unc. = 5.0e-05) s
+c : 2.9979245800000e+08 (exact) m s^(-1)
+mu_0 : 1.2566370614359e-06 (exact) m kg s^(-2) A^(-2)
+epsilon_0 : 8.8541878176204e-12 (exact) m^(-3) kg^(-1) s^4 A^2
+Z_0 : 3.7673031346177e+02 (exact) m^2 kg s^(-3) A^(-2)
+G : 6.6742800000000e-11 (rel. unc. = 1.0e-04) m^3 kg^(-1) s^(-2)
+h : 6.6260689600000e-34 (rel. unc. = 5.0e-08) m^2 kg s^(-1)
+hbar : 1.0545716280000e-34 (rel. unc. = 5.0e-08) m^2 kg s^(-1)
+m_P : 2.1764400000000e-08 (rel. unc. = 5.1e-05) kg
+T_P : 1.4167850000000e+32 (rel. unc. = 5.0e-05) K
+l_P : 1.6162520000000e-35 (rel. unc. = 5.0e-05) m
+t_P : 5.3912400000000e-44 (rel. unc. = 5.0e-05) s
 
 Electromagnetic constants:
 
-e : 1.6021764870000e-19 (rel. unc. = 2.5e-08) s A
-e/h : 2.4179894540000e+14 (rel. unc. = 2.5e-08) m^(-2) kg^(-1) s^2 A
-Phi_0 : 2.0678336670000e-15 (rel. unc. = 2.5e-08) m^2 kg s^(-2) A^(-1)
-G_0 : 7.7480917004000e-05 (rel. unc. = 6.8e-10) m^(-2) kg^(-1) s^3 A^2
-K_J : 4.8359789100000e+14 (rel. unc. = 2.5e-08) m^(-2) kg^(-1) s^2 A
-R_K : 2.5812807557000e+04 (rel. unc. = 6.9e-10) m^2 kg s^(-3) A^(-2)
-mu_B : 9.2740091500000e-24 (rel. unc. = 2.5e-08) m^2 A
-mu_N : 5.0507832400000e-27 (rel. unc. = 2.6e-08) m^2 A
+e : 1.6021764870000e-19 (rel. unc. = 2.5e-08) s A
+e/h : 2.4179894540000e+14 (rel. unc. = 2.5e-08) m^(-2) kg^(-1) s^2 A
+Phi_0 : 2.0678336670000e-15 (rel. unc. = 2.5e-08) m^2 kg s^(-2) A^(-1)
+G_0 : 7.7480917004000e-05 (rel. unc. = 6.8e-10) m^(-2) kg^(-1) s^3 A^2
+K_J : 4.8359789100000e+14 (rel. unc. = 2.5e-08) m^(-2) kg^(-1) s^2 A
+R_K : 2.5812807557000e+04 (rel. unc. = 6.9e-10) m^2 kg s^(-3) A^(-2)
+mu_B : 9.2740091500000e-24 (rel. unc. = 2.5e-08) m^2 A
+mu_N : 5.0507832400000e-27 (rel. unc. = 2.6e-08) m^2 A
 
 Physico-chemical constants:
 
-N_A : 6.0221417900000e+23 (rel. unc. = 5.0e-08) mol^(-1)
-m_u : 1.6605387820000e-27 (rel. unc. = 5.0e-08) kg
-F : 9.6485339900000e+04 (rel. unc. = 2.5e-08) s A mol^(-1)
-R : 8.3144720000000e+00 (rel. unc. = 1.8e-06) m^2 kg s^(-2) K^(-1) mol^(-1)
-k_B : 1.3806504000000e-23 (rel. unc. = 1.7e-06) m^2 kg s^(-2) K^(-1)
-V_m : 2.2413996000000e-02 (rel. unc. = 1.7e-06) m^3 mol^(-1)
-sigma_SB : 5.6704000000000e-08 (rel. unc. = 7.1e-06) kg s^(-3) K^(-4)
-c_1 : 3.7417711800000e-16 (rel. unc. = 5.1e-08) m^4 kg s^(-3)
-c_2 : 1.4387752000000e-02 (rel. unc. = 1.7e-06) m K
-b : 2.8977685000000e-03 (rel. unc. = 1.8e-06) m K
+N_A : 6.0221417900000e+23 (rel. unc. = 5.0e-08) mol^(-1)
+m_u : 1.6605387820000e-27 (rel. unc. = 5.0e-08) kg
+F : 9.6485339900000e+04 (rel. unc. = 2.5e-08) s A mol^(-1)
+R : 8.3144720000000e+00 (rel. unc. = 1.8e-06) m^2 kg s^(-2) K^(-1) mol^(-1)
+k_B : 1.3806504000000e-23 (rel. unc. = 1.7e-06) m^2 kg s^(-2) K^(-1)
+V_m : 2.2413996000000e-02 (rel. unc. = 1.7e-06) m^3 mol^(-1)
+sigma_SB : 5.6704000000000e-08 (rel. unc. = 7.1e-06) kg s^(-3) K^(-4)
+c_1 : 3.7417711800000e-16 (rel. unc. = 5.1e-08) m^4 kg s^(-3)
+c_2 : 1.4387752000000e-02 (rel. unc. = 1.7e-06) m K
+b : 2.8977685000000e-03 (rel. unc. = 1.8e-06) m K
 
 Atomic and nuclear constants:
 
-alpha : 7.2973525376000e-03 (rel. unc. = 6.9e-10) dimensionless
-R_infinity : 1.0973731568527e+07 (rel. unc. = 6.7e-12) m^(-1)
-a_0 : 5.2917720859000e-11 (rel. unc. = 6.8e-10) m
-E_h : 4.3597439400000e-18 (rel. unc. = 5.0e-08) m^2 kg s^(-2)
+alpha : 7.2973525376000e-03 (rel. unc. = 6.9e-10) dimensionless
+R_infinity : 1.0973731568527e+07 (rel. unc. = 6.7e-12) m^(-1)
+a_0 : 5.2917720859000e-11 (rel. unc. = 6.8e-10) m
+E_h : 4.3597439400000e-18 (rel. unc. = 5.0e-08) m^2 kg s^(-2)
 
     electron:
 
-<<<<<<< unit_example_19.cpp
-m_e : 9.10938e-31 kg
-m_e/m_mu : 0.00483633 dimensionless
-m_e/m_tau : 0.000287564 dimensionless
-m_e/m_p : 0.000544617 dimensionless
-m_e/m_n : 0.000543867 dimensionless
-m_e/m_d : 0.000272444 dimensionless
-m_e/m_alpha : 0.000137093 dimensionless
-e/m_e : 1.75882e+11 kg^(-1) s A
-M_e : 5.4858e-07 kg mol^(-1)
-lambda_C : 2.42631e-12 m
-r_e : 2.81794e-15 m
-sigma_e : 6.65246e-29 m^2
-mu_e : -9.28476e-24 m^2 A
-a_e : 0.00115965 dimensionless
-g_e : -2.00232 dimensionless
-mu_e/mu_mu : 206.767 dimensionless
-mu_e/mu_p : -658.211 dimensionless
-mu_e/mu_p' : -658.228 dimensionless
-mu_e/mu_n : 960.92 dimensionless
-mu_e/mu_d : -2143.92 dimensionless
-mu_e/mu_hp : 864.058 dimensionless
-gamma_e : 1.76086 kg^(-1) s A
-=======
-m_e : 9.1093821500000e-31 (rel. unc. = 4.9e-08) kg
-m_e/m_mu : 4.8363317100000e-03 (rel. unc. = 2.5e-08) dimensionless
-m_e/m_tau : 2.8756400000000e-04 (rel. unc. = 1.6e-04) dimensionless
-m_e/m_p : 5.4461702177000e-04 (rel. unc. = 4.4e-10) dimensionless
-m_e/m_n : 5.4386734459000e-04 (rel. unc. = 6.1e-10) dimensionless
-m_e/m_d : 2.7244371093000e-04 (rel. unc. = 4.4e-10) dimensionless
-m_e/m_alpha : 1.3709335557000e-04 (rel. unc. = 4.2e-10) dimensionless
-e/m_e : 1.7588201500000e+11 (rel. unc. = 2.5e-08) kg^(-1) s A
-M_e : 5.4857990943000e-07 (rel. unc. = 4.2e-10) kg mol^(-1)
-lambda_C : 2.4263102175000e-12 (rel. unc. = 1.4e-09) m
-r_e : 2.8179402894000e-15 (rel. unc. = 2.1e-09) m
-sigma_e : 6.6524585580000e-29 (rel. unc. = 4.1e-09) m^2
-mu_e : -9.2847637700000e-24 (rel. unc. = 2.5e-08) m^2 A
-a_e : 1.1596521811100e-03 (rel. unc. = 6.4e-10) dimensionless
-g_e : -2.0023193043622e+00 (rel. unc. = 7.5e-13) dimensionless
-mu_e/mu_mu : 2.0676698770000e+02 (rel. unc. = 2.5e-08) dimensionless
-mu_e/mu_p : -6.5821068480000e+02 (rel. unc. = 8.2e-09) dimensionless
-mu_e/mu_pp : -6.5822759710000e+02 (rel. unc. = 1.1e-08) dimensionless
-mu_e/mu_n : 9.6092050000000e+02 (rel. unc. = 2.4e-07) dimensionless
-mu_e/mu_d : -2.1439234980000e+03 (rel. unc. = 8.4e-09) dimensionless
-mu_e/mu_hp : 8.6405825700000e+02 (rel. unc. = 1.2e-08) dimensionless
-gamma_e : 1.7608597700000e+11 (rel. unc. = 2.5e-08) kg^(-1) s A
->>>>>>> 1.4
+m_e : 9.1093821500000e-31 (rel. unc. = 4.9e-08) kg
+m_e/m_mu : 4.8363317100000e-03 (rel. unc. = 2.5e-08) dimensionless
+m_e/m_tau : 2.8756400000000e-04 (rel. unc. = 1.6e-04) dimensionless
+m_e/m_p : 5.4461702177000e-04 (rel. unc. = 4.4e-10) dimensionless
+m_e/m_n : 5.4386734459000e-04 (rel. unc. = 6.1e-10) dimensionless
+m_e/m_d : 2.7244371093000e-04 (rel. unc. = 4.4e-10) dimensionless
+m_e/m_alpha : 1.3709335557000e-04 (rel. unc. = 4.2e-10) dimensionless
+e/m_e : 1.7588201500000e+11 (rel. unc. = 2.5e-08) kg^(-1) s A
+M_e : 5.4857990943000e-07 (rel. unc. = 4.2e-10) kg mol^(-1)
+lambda_C : 2.4263102175000e-12 (rel. unc. = 1.4e-09) m
+r_e : 2.8179402894000e-15 (rel. unc. = 2.1e-09) m
+sigma_e : 6.6524585580000e-29 (rel. unc. = 4.1e-09) m^2
+mu_e : -9.2847637700000e-24 (rel. unc. = 2.5e-08) m^2 A
+a_e : 1.1596521811100e-03 (rel. unc. = 6.4e-10) dimensionless
+g_e : -2.0023193043622e+00 (rel. unc. = 7.5e-13) dimensionless
+mu_e/mu_mu : 2.0676698770000e+02 (rel. unc. = 2.5e-08) dimensionless
+mu_e/mu_p : -6.5821068480000e+02 (rel. unc. = 8.2e-09) dimensionless
+mu_e/mu_pp : -6.5822759710000e+02 (rel. unc. = 1.1e-08) dimensionless
+mu_e/mu_n : 9.6092050000000e+02 (rel. unc. = 2.4e-07) dimensionless
+mu_e/mu_d : -2.1439234980000e+03 (rel. unc. = 8.4e-09) dimensionless
+mu_e/mu_hp : 8.6405825700000e+02 (rel. unc. = 1.2e-08) dimensionless
+gamma_e : 1.7608597700000e+11 (rel. unc. = 2.5e-08) kg^(-1) s A
 
     muon:
 
-m_mu : 1.8835313000000e-28 (rel. unc. = 5.8e-08) kg
-m_mu/m_e : 2.0676828230000e+02 (rel. unc. = 2.5e-08) dimensionless
-m_mu/m_tau : 5.9459200000000e-02 (rel. unc. = 1.6e-04) dimensionless
-m_mu/m_p : 1.1260952610000e-01 (rel. unc. = 2.6e-08) dimensionless
-m_mu/m_n : 1.1245451670000e-01 (rel. unc. = 2.6e-08) dimensionless
-M_mu : 1.1342892560000e-04 (rel. unc. = 2.6e-08) kg mol^(-1)
-lambda_C_mu : 1.1734441040000e-14 (rel. unc. = 2.6e-08) m
-mu_mu : -4.4904478600000e-26 (rel. unc. = 3.6e-08) m^2 A
-a_mu : 1.1659206900000e-03 (rel. unc. = 5.1e-07) dimensionless
-g_mu : -2.0023318414000e+00 (rel. unc. = 6.0e-10) dimensionless
-mu_mu/mu_p : -3.1833451370000e+00 (rel. unc. = 2.7e-08) dimensionless
+m_mu : 1.8835313000000e-28 (rel. unc. = 5.8e-08) kg
+m_mu/m_e : 2.0676828230000e+02 (rel. unc. = 2.5e-08) dimensionless
+m_mu/m_tau : 5.9459200000000e-02 (rel. unc. = 1.6e-04) dimensionless
+m_mu/m_p : 1.1260952610000e-01 (rel. unc. = 2.6e-08) dimensionless
+m_mu/m_n : 1.1245451670000e-01 (rel. unc. = 2.6e-08) dimensionless
+M_mu : 1.1342892560000e-04 (rel. unc. = 2.6e-08) kg mol^(-1)
+lambda_C_mu : 1.1734441040000e-14 (rel. unc. = 2.6e-08) m
+mu_mu : -4.4904478600000e-26 (rel. unc. = 3.6e-08) m^2 A
+a_mu : 1.1659206900000e-03 (rel. unc. = 5.1e-07) dimensionless
+g_mu : -2.0023318414000e+00 (rel. unc. = 6.0e-10) dimensionless
+mu_mu/mu_p : -3.1833451370000e+00 (rel. unc. = 2.7e-08) dimensionless
 
     tau:
 
-m_tau : 3.1677700000000e-27 (rel. unc. = 1.6e-04) kg
-m_tau/m_e : 3.4774800000000e+03 (rel. unc. = 1.6e-04) dimensionless
-m_tau/m_mu : 1.6818300000000e+01 (rel. unc. = 1.6e-04) dimensionless
-m_tau/m_p : 1.8939000000000e+00 (rel. unc. = 1.6e-04) dimensionless
-m_tau/m_n : 1.8912900000000e+00 (rel. unc. = 1.6e-04) dimensionless
-M_tau : 1.9076800000000e-03 (rel. unc. = 1.6e-04) kg mol^(-1)
-lambda_C_tau: 6.9772000000000e-16 (rel. unc. = 1.6e-04) m
+m_tau : 3.1677700000000e-27 (rel. unc. = 1.6e-04) kg
+m_tau/m_e : 3.4774800000000e+03 (rel. unc. = 1.6e-04) dimensionless
+m_tau/m_mu : 1.6818300000000e+01 (rel. unc. = 1.6e-04) dimensionless
+m_tau/m_p : 1.8939000000000e+00 (rel. unc. = 1.6e-04) dimensionless
+m_tau/m_n : 1.8912900000000e+00 (rel. unc. = 1.6e-04) dimensionless
+M_tau : 1.9076800000000e-03 (rel. unc. = 1.6e-04) kg mol^(-1)
+lambda_C_tau: 6.9772000000000e-16 (rel. unc. = 1.6e-04) m
 
     proton:
 
-<<<<<<< unit_example_19.cpp
-m_p : 1.67262e-27 kg
-m_p/m_e : 1836.15 dimensionless
-m_p/m_mu : 8.88024 dimensionless
-m_p/m_tau : 0.528012 dimensionless
-m_p/m_n : 0.998623 dimensionless
-e/m_p : 9.57883e+07 kg^(-1) s A
-M_p : 0.00100728 kg mol^(-1)
-R_p : 8.75e-16 m
-mu_p : 1.41061e-26 m^2 A
-g_p : 5.58569 dimensionless
-mu_p/mu_n : -1.4599 dimensionless
-mu_p' : 1.41057e-26 m^2 A
-gamma_p : 2.67522e+08 kg^(-1) s A
-gamma_p' : 2.67515e+08 kg^(-1) s A
-=======
-m_p : 1.6726216370000e-27 (rel. unc. = 5.0e-08) kg
-m_p/m_e : 1.8361526724700e+03 (rel. unc. = 4.4e-10) dimensionless
-m_p/m_mu : 8.8802433900000e+00 (rel. unc. = 2.6e-08) dimensionless
-m_p/m_tau : 5.2801200000000e-01 (rel. unc. = 1.6e-04) dimensionless
-m_p/m_n : 9.9862347824000e-01 (rel. unc. = 4.6e-10) dimensionless
-e/m_p : 9.5788339200000e+07 (rel. unc. = 2.5e-08) kg^(-1) s A
-M_p : 1.0072764667700e-03 (rel. unc. = 9.9e-11) kg mol^(-1)
-R_p : 8.7680000000000e-16 (rel. unc. = 7.9e-03) m
-mu_p : 1.4106066620000e-26 (rel. unc. = 2.6e-08) m^2 A
-g_p : 5.5856947130000e+00 (rel. unc. = 8.2e-09) dimensionless
-mu_p/mu_n : -1.4598980600000e+00 (rel. unc. = 2.3e-07) dimensionless
-mu_pp : 1.4105704190000e-26 (rel. unc. = 2.7e-08) m^2 A
-gamma_p : 2.6752220990000e+08 (rel. unc. = 2.6e-08) kg^(-1) s A
-gamma_pp : 2.6751533620000e+08 (rel. unc. = 2.7e-08) kg^(-1) s A
->>>>>>> 1.4
+m_p : 1.6726216370000e-27 (rel. unc. = 5.0e-08) kg
+m_p/m_e : 1.8361526724700e+03 (rel. unc. = 4.4e-10) dimensionless
+m_p/m_mu : 8.8802433900000e+00 (rel. unc. = 2.6e-08) dimensionless
+m_p/m_tau : 5.2801200000000e-01 (rel. unc. = 1.6e-04) dimensionless
+m_p/m_n : 9.9862347824000e-01 (rel. unc. = 4.6e-10) dimensionless
+e/m_p : 9.5788339200000e+07 (rel. unc. = 2.5e-08) kg^(-1) s A
+M_p : 1.0072764667700e-03 (rel. unc. = 9.9e-11) kg mol^(-1)
+R_p : 8.7680000000000e-16 (rel. unc. = 7.9e-03) m
+mu_p : 1.4106066620000e-26 (rel. unc. = 2.6e-08) m^2 A
+g_p : 5.5856947130000e+00 (rel. unc. = 8.2e-09) dimensionless
+mu_p/mu_n : -1.4598980600000e+00 (rel. unc. = 2.3e-07) dimensionless
+mu_pp : 1.4105704190000e-26 (rel. unc. = 2.7e-08) m^2 A
+gamma_p : 2.6752220990000e+08 (rel. unc. = 2.6e-08) kg^(-1) s A
+gamma_pp : 2.6751533620000e+08 (rel. unc. = 2.7e-08) kg^(-1) s A
 
     neutron:
 
-<<<<<<< unit_example_19.cpp
-m_n : 1.67493e-27 kg
-m_n/m_e : 1838.68 dimensionless
-m_n/m_mu : 8.89248 dimensionless
-m_n/m_tau : 0.52874 dimensionless
-m_n/m_p : 1.00138 dimensionless
-lambda_C_n : 1.31959e-15 m
-M_n : 0.00100866 kg mol^(-1)
-mu_n : -9.66236e-27 m^2 A
-g_n : -3.82609 dimensionless
-mu_n/mu_p : -0.684979 dimensionless
-mu_n/mu_p' : -0.684997 dimensionless
-gamma_n : 1.83247e+08 kg^(-1) s A
-=======
-m_n : 1.6749272110000e-27 (rel. unc. = 5.0e-08) kg
-m_n/m_e : 1.8386836605000e+03 (rel. unc. = 6.0e-10) dimensionless
-m_n/m_mu : 8.8924840900000e+00 (rel. unc. = 2.6e-08) dimensionless
-m_n/m_tau : 5.2874000000000e-01 (rel. unc. = 1.6e-04) dimensionless
-m_n/m_p : 1.0013784191800e+00 (rel. unc. = 4.6e-10) dimensionless
-lambda_C_n : 1.3195908951000e-15 (rel. unc. = 1.5e-09) m
-M_n : 1.0086649159700e-03 (rel. unc. = 4.3e-10) kg mol^(-1)
-mu_n : -9.6623641000000e-27 (rel. unc. = 2.4e-07) m^2 A
-g_n : -3.8260854500000e+00 (rel. unc. = 2.4e-07) dimensionless
-mu_n/mu_p : -6.8497934000000e-01 (rel. unc. = 2.3e-07) dimensionless
-mu_n/mu_pp : -6.8499694000000e-01 (rel. unc. = 2.3e-07) dimensionless
-gamma_n : 1.8324718500000e+08 (rel. unc. = 2.3e-07) kg^(-1) s A
->>>>>>> 1.4
+
+m_n : 1.6749272110000e-27 (rel. unc. = 5.0e-08) kg
+m_n/m_e : 1.8386836605000e+03 (rel. unc. = 6.0e-10) dimensionless
+m_n/m_mu : 8.8924840900000e+00 (rel. unc. = 2.6e-08) dimensionless
+m_n/m_tau : 5.2874000000000e-01 (rel. unc. = 1.6e-04) dimensionless
+m_n/m_p : 1.0013784191800e+00 (rel. unc. = 4.6e-10) dimensionless
+lambda_C_n : 1.3195908951000e-15 (rel. unc. = 1.5e-09) m
+M_n : 1.0086649159700e-03 (rel. unc. = 4.3e-10) kg mol^(-1)
+mu_n : -9.6623641000000e-27 (rel. unc. = 2.4e-07) m^2 A
+g_n : -3.8260854500000e+00 (rel. unc. = 2.4e-07) dimensionless
+mu_n/mu_p : -6.8497934000000e-01 (rel. unc. = 2.3e-07) dimensionless
+mu_n/mu_pp : -6.8499694000000e-01 (rel. unc. = 2.3e-07) dimensionless
+gamma_n : 1.8324718500000e+08 (rel. unc. = 2.3e-07) kg^(-1) s A
 
     deuteron:
 
-m_d : 3.3435832000000e-27 (rel. unc. = 5.1e-08) kg
-m_d/m_e : 3.6704829654000e+03 (rel. unc. = 4.4e-10) dimensionless
-m_d/m_p : 1.9990075010800e+00 (rel. unc. = 1.1e-10) dimensionless
-M_d : 2.0135532127240e-03 (rel. unc. = 3.9e-11) kg mol^(-1)
-R_d : 2.1402000000000e-15 (rel. unc. = 1.3e-03) m
-mu_d : 4.3307346500000e-27 (rel. unc. = 2.5e-08) m^2 A
-mu_d/mu_e : -4.6643455370000e-04 (rel. unc. = 8.4e-09) dimensionless
-mu_d/mu_p : 3.0701220700000e-01 (rel. unc. = 7.8e-09) dimensionless
-mu_d/mu_n : -4.4820652000000e-01 (rel. unc. = 2.5e-07) dimensionless
+m_d : 3.3435832000000e-27 (rel. unc. = 5.1e-08) kg
+m_d/m_e : 3.6704829654000e+03 (rel. unc. = 4.4e-10) dimensionless
+m_d/m_p : 1.9990075010800e+00 (rel. unc. = 1.1e-10) dimensionless
+M_d : 2.0135532127240e-03 (rel. unc. = 3.9e-11) kg mol^(-1)
+R_d : 2.1402000000000e-15 (rel. unc. = 1.3e-03) m
+mu_d : 4.3307346500000e-27 (rel. unc. = 2.5e-08) m^2 A
+mu_d/mu_e : -4.6643455370000e-04 (rel. unc. = 8.4e-09) dimensionless
+mu_d/mu_p : 3.0701220700000e-01 (rel. unc. = 7.8e-09) dimensionless
+mu_d/mu_n : -4.4820652000000e-01 (rel. unc. = 2.5e-07) dimensionless
 
     helion:
 
-m_h : 5.0064119200000e-27 (rel. unc. = 5.0e-08) kg
+m_h : 5.0064119200000e-27 (rel. unc. = 5.0e-08) kg
 
     alpha particle:
 
-m_alpha : 6.6446562000000e-27 (rel. unc. = 5.0e-08) kg
+m_alpha : 6.6446562000000e-27 (rel. unc. = 5.0e-08) kg
 //]
 
 @endverbatim
@@ -232,7 +176,6 @@
 #include <iostream>
 
 #include <boost/units/io.hpp>
-//#include <boost/units/systems/si.hpp>
 #include <boost/units/systems/si/codata_constants.hpp>
 
 #if BOOST_UNITS_HAS_TYPEOF

Modified: sandbox/units/libs/units/example/unit_example_21.cpp
==============================================================================
--- sandbox/units/libs/units/example/unit_example_21.cpp (original)
+++ sandbox/units/libs/units/example/unit_example_21.cpp 2007-05-31 15:22:49 EDT (Thu, 31 May 2007)
@@ -43,47 +43,13 @@
 
 typedef make_system<imperial_gallon_tag>::type imperial;
 
-typedef unit<volume_dimension,imperial> imperial_gallon;
+typedef unit<volume_dimension,imperial> imperial_gallon;
 
 struct us_gallon_tag : base_unit<us_gallon_tag, volume_dimension, 2> { };
 
 typedef make_system<us_gallon_tag>::type us;
 
-typedef unit<volume_dimension,us> us_gallon;
-
-///// convert imperial gallons to us gallons
-//template<class Y>
-//class conversion_helper< quantity<unit<volume_dimension,imperial>,Y>,
-// quantity<unit<volume_dimension,us>,Y> >
-//{
-// public:
-// typedef quantity<unit<volume_dimension,imperial>,Y> from_quantity_type;
-// typedef quantity<unit<volume_dimension,us>,Y> to_quantity_type;
-//
-// static
-// to_quantity_type
-// convert(const from_quantity_type& source)
-// {
-// return to_quantity_type::from_value(source.value()*1.2009499255);
-// }
-//};
-//
-///// convert us gallons to imperial gallons
-//template<class Y>
-//class conversion_helper< quantity<unit<volume_dimension,us>,Y>,
-// quantity<unit<volume_dimension,imperial>,Y> >
-//{
-// public:
-// typedef quantity<unit<volume_dimension,us>,Y> from_quantity_type;
-// typedef quantity<unit<volume_dimension,imperial>,Y> to_quantity_type;
-//
-// static
-// to_quantity_type
-// convert(const from_quantity_type& source)
-// {
-// return to_quantity_type::from_value(source.value()/1.2009499255);
-// }
-//};
+typedef unit<volume_dimension,us> us_gallon;
 
 template<>
 struct is_implicitly_convertible<unit<volume_dimension,imperial>,

Modified: sandbox/units/libs/units/example/unit_example_4.cpp
==============================================================================
--- sandbox/units/libs/units/example/unit_example_4.cpp (original)
+++ sandbox/units/libs/units/example/unit_example_4.cpp 2007-05-31 15:22:49 EDT (Thu, 31 May 2007)
@@ -472,12 +472,12 @@
     sstream2 << "Q1^X2 : 1 m^(4/3) kg^(4/3) s^(-8/3)" << std::endl;
     sstream2 << "X2vQ1 : 1 m^(3/4) kg^(3/4) s^(-3/2)" << std::endl;
     sstream2 << std::endl;
- sstream2 << "l1 == l2 false" << std::endl;
- sstream2 << "l1 != l2 true" << std::endl;
- sstream2 << "l1 <= l2 true" << std::endl;
- sstream2 << "l1 < l2 true" << std::endl;
- sstream2 << "l1 >= l2 false" << std::endl;
- sstream2 << "l1 > l2 false" << std::endl;
+ sstream2 << "l1 == l2\tfalse" << std::endl;
+ sstream2 << "l1 != l2\ttrue" << std::endl;
+ sstream2 << "l1 <= l2\ttrue" << std::endl;
+ sstream2 << "l1 < l2 \ttrue" << std::endl;
+ sstream2 << "l1 >= l2\tfalse" << std::endl;
+ sstream2 << "l1 > l2 \tfalse" << std::endl;
     sstream2 << std::endl;
     sstream2 << "dimless = 1" << std::endl;
     sstream2 << std::endl;

Modified: sandbox/units/libs/units/test/test_conversion.cpp
==============================================================================
--- sandbox/units/libs/units/test/test_conversion.cpp (original)
+++ sandbox/units/libs/units/test/test_conversion.cpp 2007-05-31 15:22:49 EDT (Thu, 31 May 2007)
@@ -24,8 +24,6 @@
 #include <boost/units/quantity.hpp>
 #include <boost/units/systems/si.hpp>
 #include <boost/units/systems/cgs.hpp>
-//#include <boost/units/systems/conversions/convert_si_to_cgs.hpp>
-//#include <boost/units/systems/conversions/convert_cgs_to_si.hpp>
 
 #include <iostream>
 
@@ -85,17 +83,17 @@
     //BOOST_CHECK((std::abs(F1.value() - 2.0e-4) < .000000001));
     
     //deprecated
- //bu::quantity<bu::SI::force> F2 = bu::quantity_cast<bu::quantity<bu::SI::force> >(20 * bu::CGS::dyne);
+ //bu::quantity<bu::SI::force> F2 = bu::quantity_cast<bu::quantity<bu::SI::force> >(20 * bu::CGS::dyne);
     //BOOST_CHECK((std::abs(F2.value() - 2.0e-4) < .000000001));
 
- bu::quantity<bu::SI::force> F3(F0);
+ bu::quantity<bu::SI::force> F3(F0);
     BOOST_CHECK((std::abs(F3.value() - 2.0e-4) < .000000001));
- //quantity<SI::force> F4 = F0;
+ //quantity<SI::force> F4 = F0;
 
- bu::quantity<bu::SI::force> F5(20 * bu::CGS::dyne);
+ bu::quantity<bu::SI::force> F5(20 * bu::CGS::dyne);
     BOOST_CHECK((std::abs(F5.value() - 2.0e-4) < .000000001));
     
- //quantity<SI::force> F6 = 20 * CGS::dyne;
+ //quantity<SI::force> F6 = 20 * CGS::dyne;
 
 
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk