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

DecimalFormat rounding not IEEE conformant

XMLWordPrintable

    • 1.1.6
    • x86
    • windows_nt
    • Verified



        Name: bb33257 Date: 11/18/97


        Java is supposed to conform to the IEEE floating point standard
        as much as possible. This should include the behavior of
        rounding, including the rounding of numbers formatted by the
        DecimalFormat class.

        The IEEE standard specifies a default rounding method known as
        `round to nearest or even.' This method rounds to an even digit
        if digits being rounded off are exactly `50000...'

        DecimalFormat currently implements `round to nearest' instead of
        `round to nearest or event.' [asl]
        ======================================================================

              joconnersunw John Oconner (Inactive)
              bcbeck Brian Beck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: