wrong evaluation of the Math.IEEEremainder function in Windows

XMLWordPrintable

    • 1.1
    • sparc
    • solaris_2.4
    • Not verified



      Name: swC45995 Date: 10/07/96


      In Windows java incorrectly calculates the IEEE remainder operation.
      For example, execution of the following test:

      public class test
      {
      public static void main(String argv[])
      {
      System.out.println(Math.IEEEremainder(11.0d, 7.0d));
      }
      }

      produces 3 instead of expected -3.

      ======================================================================

            Assignee:
            Eric Gilbertson (Inactive)
            Reporter:
            Wen Wen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: