Index Page
cspice_halfpi
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X 

Abstract
I/O
Examples
Particulars
Required Reading
Version
Index_Entries

Abstract


   CSPICE_HALFPI returns the double precision value of the constant pi/2.0.

I/O


   Given:

      No input required.

   the call:

      halfpi = cspice_halfpi

   returns:

      The value of half the value of pi (pi/2).

      [1,1] = size(halfpi); double = class(halfpi)

Examples


   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.

      >> half_pi = cspice_halfpi

      half_pi =

          1.5708

      >> sprintf( 'Half pi: %2.11f', cspice_halfpi )

      ans =

      Half pi: 1.57079632679

Particulars


   None.

Required Reading


   For important details concerning this module's function, please refer to
   the CSPICE routine halfpi_c.

   MICE.REQ

Version


   -Mice Version 1.0.0, 22-NOV-2005, EDW (JPL)

Index_Entries


   half the value of pi


Wed Apr  5 18:00:32 2017