Re: [Sablevm-developer] problem with divisions, float, double
Brought to you by:
egagnon
From: Fabien R. <re...@ne...> - 2004-05-13 11:42:44
|
I use --with-thread=direct on ARM and that doesn´t wotk. On my x86, that works with default options. I´ll try with --enable-debugging-features. Cheers, Fabien Chris Pickett wrote: > Hi Fabien, > > We're able to help you much better if you include any details that > might possibly be relevant. It's also helpful if you provide minimal > test cases (i.e. remove all the working stuff from a test case). I > take it that divide-by-zero is meant to print out "Infinity" for > floating point numbers, but that sablevm hangs. > > Did you try it with the --with-threading=switch and > --enable-debugging-features options passed to configure? Or just the > default (which would be the inlined-engine with signalling for > exceptions)? > > What architectures did you try it on? > > Does it work with Sun's java? > > The attached Arith.java works for me on x86 with inlined and > switch-debug engines. > > Cheers, > Chris > >------------------------------------------------------------------------ > >public class Arith >{ > public static void main(String[] args) > { > float a = 3; > float b = 0; > System.out.println(a / b); > } >} > > |