missing sign in printing negative zero in Windows

XMLWordPrintable

    • 1.1
    • sparc
    • solaris_2.4
    • Not verified



      Name: swC45995 Date: 10/07/96


      In Windows java loses the minus sign when prints a float or double negative
      zero. Thus execution of the following test:

      public class test
      {
      public static void main(String argv[])
      {
      System.out.println(-0.0f);
      }
      }

      produces the following results:

      in Solaris: -0
      in Windows: 0

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

            Assignee:
            J. Duke
            Reporter:
            Wen Wen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: