In message "Re: [kaffe] Simple program shows strange results"
    on 03/03/06, Ito Kazumitsu <[EMAIL PROTECTED]> writes:

> >>>>> ":" == Dalibor Topic <[EMAIL PROTECTED]> writes:
> 
> :> Does the problem occurs when the test is compiled with
> :> jikes or Sun's javac, too?
> 
> Yes, I tried with the class file generated by Sun's javac
> and also by GCJ.

These are the results:

[EMAIL PROTECTED] ito]$ cat Test.java
public class Test {
  public static void main(String[] args) {
      float x = 10.0f;
      if (x < 7.0f) {
        System.err.println("x<7: " + x);
        x = 7.0f;
      }
      System.err.println(x);
  }
}
[EMAIL PROTECTED] ito]$ ll Test.class*
-rw-rw-r--   1 ito      ito           670 Mar  6 08:31 Test.class.Sun-javac
-rw-rw-r--   1 ito      ito           599 Mar  6 08:33 Test.class.gcj
-rw-rw-r--   1 ito      ito           723 Mar  6 08:37 Test.class.kjc
[EMAIL PROTECTED] ito]$ for i in kjc gcj Sun-javac; do ln -s -f Test.class.$i 
Test.class
; java Test; done
4.7761093E-34
4.7761093E-34
4.7761203E-34
[EMAIL PROTECTED] ito]$

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to