CSPICE_PI returns the double precision value of the constant PI.
For important details concerning this module's function, please refer to
the CSPICE routine pi_c.
pi_double = cspice_pi()
A double precision scalar, the value of pi.
Any numerical results shown for this example may differ between
platforms as the results depend on the SPICE kernels used as input
and the machine specific arithmetic implementation.
IDL outputs: 3.1415927
The IDL system variable !DPI returns a double precision value
for PI that equates the value returned by cspice_pi(), to machine
The IDL system variable !PI returns a single precision (float) value
for PI that equates to the value returned by the expression
float( cspice_pi() ).
-Icy Version 1.0.1, 13-JUN-2010, EDW (JPL)
Minor edit to code comments eliminating typo.
-Icy Version 1.0.0, 16-JUN-2003, EDW (JPL)
value of pi