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

difference in printing NaNs in Solaris and Windows

    XMLWordPrintable

Details

    • 1.1
    • sparc
    • solaris_2.4
    • Not verified

    Description



      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

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: