Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8030942

Explicitly state floating-point summation requirements on non-finite inputs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8, 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:

      Backports

        Description

        In the streams API, the various methods that sum and average floating point numbers should explicitly state how non-finite values, NaNs and infinities, effect the result. In addition, signed zeros should be mentioned, if only to say they are not necessarily preserved.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  darcy Joe Darcy
                  Reporter:
                  darcy Joe Darcy
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: