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

java.lang.Bignum.floatValue(), doubleValue() methods may hang

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.5

      Description

      The following programs hang:
      ==== floatValue ====
      import java.lang.Bignum;
      class java_lang_Bignum_floatValue {
        public static void main(String args[]) {
          Bignum b1=new Bignum("-0.0123456789012345678901234567890123456789");
          System.out.println(b1.floatValue());
        }
      }
      ==== doubleValue ====
      import java.lang.Bignum;
      class java_lang_Bignum_doubleValue {
        public static void main(String args[]) {
          Bignum b1=new Bignum("-0.0123456789012345678901234567890123456789");
          System.out.println(b1.doubleValue());
        }
      }

        Attachments

          Activity

            People

            Assignee:
            mhapnersunw Mark Hapner (Inactive)
            Reporter:
            mgorshen Mikhail Gorshenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: