usecrate::rfam::*;pubfnanpm(a:f64)->f64/*
** - - - - - - - -
** e r a A n p m
** - - - - - - - -
**
** Normalize angle into the range -pi <= a < +pi.
**
** Given:
** a double angle (radians)
**
** Returned (function value):
** double angle in range +/-pi
**
** This revision: 2021 May 11
**
** Copyright (C) 2013-2021, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/{letmut w = a %URSA_D2PI;if w.abs()>=URSA_DPI{w -=ursa_dsign(URSA_D2PI, a);}return w;/* Finished. */}