hello Robert,

On Sunday 03 September 2006 23:30, Robert Lougher wrote:
> ...
> Try commenting out the code in the function:
>
> setDoublePrecision() located in jamvm/src/os/linux/i386/init.c
>
> This changes the precision of the FPU to 64 bits from extended 80-bit
> precision which is the Linux default.
>
> This is necessary to completely conform to the Java specification.
> See http://www.vinc17.org/research/extended.en.html for a bug report
> on various OS VMs.
>
> GMP appears to be very sensitive to the compiler used.  I would guess
> it would also produce wrong results if the processor mode was changed.
>  Perhaps cacao does not do this.  Can you also try the test given in
> the above page?

before commenting out the code of setDoublePrecision():
$ ./bin/jamvm -cp ~/. test
z = 9.007199254740994E15
d = 0.0

after:
$ ./bin/jamvm -cp ~/. test
z = 9.007199254740996E15
d = 2.0

unfortunately, after commenting out the code, the tests' failure pattern is 
unchanged.


as for cacao, here is the tests's output:

$ ./bin/cacao -cp ~/. test
z = 9.007199254740994E15
d = 0.0


> Thanks,
>
> Rob.
>
> On 9/3/06, Raif S. Naffah <[EMAIL PROTECTED]> wrote:
> > hello Robert,
> >
> > On Sunday 03 September 2006 15:26, Robert Lougher wrote:
> > > Hi,
> > >
> > > What architecture were you running JamVM on?
> >
> > here is the uname related lines in my jamvm config.log:
> >
> > uname -m = i686
> > uname -r = 2.6.17-1.2174_FC5smp
> > uname -s = Linux
> > uname -v = #1 SMP Tue Aug 8 16:00:39 EDT 2006


cheers;
rsn

Attachment: pgpTC68fon7fP.pgp
Description: PGP signature

Reply via email to