comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Physical constants in IDL with !CONST
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Physical constants in IDL with !CONST [message #82558 is a reply to message #82525] Fri, 21 December 2012 16:19 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
Hi all,

Here's the current list of constants:

IDL> help,!const,/full
** Structure !CONST, 33 tags, length=264, data length=264:
ALPHA DOUBLE 0.0072973525697999997
AU DOUBLE 149597870700.00000
C DOUBLE 299792458.00000000
DTOR DOUBLE 0.017453292519943299
E DOUBLE 1.6021765650000000e-019
EPS0 DOUBLE 8.8541878170000005e-012
EULER DOUBLE 2.7182818284590451
F DOUBLE 96485.336500000005
G DOUBLE 6.6742799999999995e-011
GN DOUBLE 9.8066499999999994
H DOUBLE 6.6260695699999996e-034
HBAR DOUBLE 1.0545717259999999e-034
K DOUBLE 1.3806488000000000e-023
M_EARTH DOUBLE 5.9721863899999997e+024
M_SUN DOUBLE 1.9884158605700001e+030
ME DOUBLE 9.1093829099999999e-031
MN DOUBLE 1.6749273509999999e-027
MP DOUBLE 1.6726217770000001e-027
MU0 DOUBLE 1.2566370613999999e-006
N0 DOUBLE 2.6867805000000001e+025
NA DOUBLE 6.0221412899999997e+023
P0 DOUBLE 101325.00000000000
PHI DOUBLE 1.6180339887498949
PI DOUBLE 3.1415926535897931
R DOUBLE 8.3144621000000001
R_EARTH DOUBLE 6378136.5999999996
RTOD DOUBLE 57.295779513082323
RE DOUBLE 2.8179403267000001e-015
RYDBERG DOUBLE 10973731.568538999
SIGMA DOUBLE 5.6703730000000003e-008
T0 DOUBLE 273.14999999999998
U DOUBLE 1.6605389209999998e-027
VM DOUBLE 0.022413967999999999

Comments or suggestions?

-Chris
p.s. some of the "9's" on the ends of the numbers are just due to the finite precision of double-precision numbers. For example, in the C code, T0 really is defined as 273.15.
p.p.s. Happy Holidays!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: What are the rules for automatic removal of singleton dimensions, and can I have a way of disabling them, please?
Next Topic: day or night

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 00:01:13 PDT 2025

Total time taken to generate the page: 0.01153 seconds