Sri -
I was having a look through the "constants.vams" file listing
in the AMS LRM and found the following mistakes:
1) M_TWO_PI should end with "93" rather than "52"
(The 9 is obvious from doubling M_PI; I confirmed this with
Abramowitz and Stegun.)
2) Planck's constant is listed as P_K, which conflicts with the
definition of Boltzmann's constant; I believe the macro should
be P_H.
3) The definition of P_U0 has extra text on the end, indicating
the value of (4.0e-7 * `M_PI), but if the file were used as-is,
it would create a syntax error for the parser.
Also, it appears that the values of P_Q and P_K have been updated
by NIST since the constants were taken from http:://physics.nist.gov
4) the current value for P_Q is 1.60217653e-19
(the "53" used to be "462")
5) the current value for P_K is 1.3806505e-23
(last digit was 3)
At least one Spice-like simulator uses traditional Spice values
for these constants (P_K = 1.3806226e-23), so these last two
aren't critical.
Do you think (2) and (3) should be fixed in LRM 2.2?
-Geoffrey
Received on Mon Aug 23 06:26:18 2004
This archive was generated by hypermail 2.1.8 : Mon Aug 23 2004 - 06:26:33 PDT