This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: sqrt interpreter Q
Tom Tromey wrote:
>
> >>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
>
> Tom> So I think the C++ compiler translates `(int) NaN' differently
> Tom> from the Java compiler.
>
> Andrew> Yeah, I wrote special code in the Java compiler to do the
> Andrew> Right Thing.
>
> Thanks, I hadn't seen this code.
> I've checked in a libgcj patch which fixes this.
> I tested it against the posted example.
>
> I'm always a bit surprised when we find new interpreter bugs after all
> this time.
Test, test, test as we always say.
So do I.
Let you know.
Thanks,
Andreas