TauLabs/TauLabs — pull request #469 by peabody124 (2013-04-23 19:45:37+00:00)
Title: Circular Modulus: remove requirement of -540 being the lower limit

Since fmodf(x,360) will return something between -360 to 360 we can
just add 360 to get a positive output instead of adding a finite value
before the modulus. This should make it take in any valid angle in
degrees and avoids a while loop.