Uploaded image for project: 'Commons Numbers'
  1. Commons Numbers
  2. NUMBERS-93

PlaneAngle normalize() Upper Bound is Exclusive

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0-beta1
    • Component/s: None
    • Labels:
      None

      Description

      The PlaneAngle#normalize() documentation states that it normalizes an angle to be between -0.5 turns and +0.5 turns inclusive of the given center angle. However, the upper bound is actually exclusive. The documentation should be updated to reflect this and unit tests added.

      Pull request: https://github.com/apache/commons-numbers/pull/29

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mattjuntunen Matt Juntunen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: