CSPICE_PI returns the value of the constant pi.
No input required.
onepi = cspice_pi
onepi the value of PI to machine precision.
[1,1] = size(onepi); double = class(onepi)
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.
>> pi_double = cspice_pi
>> sprintf( 'PI epoch: %2.11f', cspice_pi )
The MATLAB system variable "pi" returns a double precision value
for PI that equates the value returned by cspice_pi, to machine
For important details concerning this module's function, please refer to
the CSPICE routine pi_c.
-Mice Version 1.0.1, 11-JUN-2013, EDW (JPL)
I/O descriptions edits to conform to Mice documentation format.
Corrected minor typo in header.
-Mice Version 1.0.0, 22-NOV-2005, EDW (JPL)
value of pi