Re: constants.vams

From: Kevin Cameron <kcameron@altera.com>
Date: Mon Aug 23 2004 - 09:19:13 PDT

Geoffrey.Coram wrote:

>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.
>
You could add P_H - removing P_K would probably be a bad idea, and
changing P_K to be something else would be a very bad idea. Maybe
add a comment the P_K will be deprecated.

>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?
>
>
If the constant definitions are wrong I would certainly vote for fixing
them ASAP.

Kev.

>-Geoffrey
>
>
Received on Mon Aug 23 09:19:23 2004

This archive was generated by hypermail 2.1.8 : Mon Aug 23 2004 - 09:19:25 PDT