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

PlaneAngle normalize() Upper Bound is Exclusive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta1
    • angle
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: