Closed Ichoran closed 7 years ago
Review by @MichaelCurrie
Are we going to normalize all radians to the [0,2π) interval (or perhaps to [-π,π)?)
@MichaelCurrie - I would say no, for two reasons.
@Ichoran ok makes sense, I will not normalize in my code either.
Each line in the code diff summary makes semantic sense to me. Assuming this is compiling for you, I'm going to merge.
Default unit is radians (better for math).
Allowed variants are "deg", "degree", "degrees", "rad", "radian", "radians" with the 3-character forms taking the short SI prefixes (e.g. "mrad") and the others taking the long form (e.g. "centidegrees").
Documentation is not updated to reflect these as this is a proposal rather than a final decision on how to support angular units.
Note that supporting revolutions would be easy also at least in the Scala code base.