FACT++  1.0
double eraAnpm ( double  a)

Definition at line 3 of file anpm.c.

References ERFA_D2PI, ERFA_DPI, and ERFA_DSIGN.

Referenced by eraEe06a(), eraEqeq94(), eraG2icrs(), eraIcrs2g(), eraNut80(), eraPlan94(), palEqgal(), palGaleq(), palGalsup(), palGe50(), palSupgal(), and t_anpm().

20 {
21  double w;
22 
23  w = fmod(a, ERFA_D2PI);
24  if (fabs(w) >= ERFA_DPI) w -= ERFA_DSIGN(ERFA_D2PI, a);
25 
26  return w;
27 
28 }
#define ERFA_DPI
Definition: erfam.h:45
#define ERFA_D2PI
Definition: erfam.h:48
#define ERFA_DSIGN(A, B)
Definition: erfam.h:131

+ Here is the caller graph for this function: