FACT++  1.0
double palDrange ( double  angle)

Definition at line 68 of file palDrange.c.

References PAL__D2PI, and PAL__DPI.

Referenced by palEcleq(), palEqecl(), palRefro(), and t_range().

68  {
69  double result = fmod( angle, PAL__D2PI );
70  if( result > PAL__DPI ) {
71  result -= PAL__D2PI;
72  } else if( result < -PAL__DPI ) {
73  result += PAL__D2PI;
74  }
75  return result;
76 }
static const double PAL__DPI
Definition: palmac.h:63
static const double PAL__D2PI
Definition: palmac.h:66

+ Here is the caller graph for this function: