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

difference in printing NaNs in Solaris and Windows

XMLWordPrintable

    • 1.1
    • sparc
    • solaris_2.4
    • Not verified



      Name: swC45995 Date: 10/07/96


      In Solaris and Windows java uses different ways of printing NaN values.
      Thus execution of the following test:

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

      produces the following results:

      in Solaris: Inf
      in Windows: -1.#IND

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: