rfa 0.5.9

A port ERFA to Rust.
Documentation
use crate::rfam::*;
pub fn anp(a: f64)-> f64
/*
**  - - - - - - -
**   a n p
**  - - - - - - -
**
**  Normalize angle into the range 0 <= a < 2pi.
**
**  Given:
**     a        double     angle (radians)
**
**  Returned (function value):
**              double     angle in range 0-2pi
**
**  This revision:  2021 May 11
**
**  Copyright (C) 2013-2021, NumFOCUS Foundation.
**  Derived, with permission, from the SOFA library.  See notes at end of file.
*/
{


   let mut w= a % URSA_D2PI;
   if w < 0.0 {w += URSA_D2PI;}

   return w;

/* Finished. */

}