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

internal JIT (3.00.050(x)) error 'ReloadFPU64'

    XMLWordPrintable

Details

    • 1.2beta4
    • x86
    • windows_95, windows_nt
    • Not verified

    Description



      Name: tb29552 Date: 06/12/98


      /*
       * when I try to run this prgram, the following error message apears:
       *
       * A nonfatal internal JIT (3.00.039(x)) error 'ReloadFPU64' has occurred in :
       * 'Pi.wurf (I)V': Interpreting method.
       * Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
       *
       * the programm runs anyway.
       * it seems to work fine with jdk 1.1.5
       *
       * my program:
       */
      import java.util.Random;
      class Pi{
        static double pi;
        static int imKreis=0, imQuadrat=0, i=0;

        public static void main(String args[]) {
          for(int i=0;i<=100;i++) {
            wurf(10000);
            pi=4.0*imKreis/imQuadrat;
            ausgabe();
          }
          System.out.print("\n");
        }

        static void wurf(int wieOft) {
          double x,y;
          Random zufall;
          zufall=new Random();
          for(int i=0;i<=wieOft;i++) {
            x=zufall.nextDouble();
            y=zufall.nextDouble();
            imQuadrat++;
            if(x*x+y*y<1)imKreis++;
          }
        }

        static void ausgabe() {
          System.out.print(pi);
          if ((++i % 4) == 0){
            System.out.print("\n");
          } else {
            System.out.print(" ");
          }
        }
      }

      (Review ID: 33542)
      ======================================================================

      Attachments

        Activity

          People

            dviswanasunw Deepa Viswanathan (Inactive)
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: