classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug 10491 was Re: More astonishing progress in japi scores


From: Per Bothner
Subject: Re: bug 10491 was Re: More astonishing progress in japi scores
Date: Thu, 07 Oct 2004 13:54:46 -0700
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040803

Archie Cobbs wrote:

Sven de Marothy wrote:

If the strtod in glibc is threadsafe *and* accurate, then we should
probably use it, at least as a default.

Dalibor Topic said on IRC that it has some problems on Irix. So it might
not be a good idea. So perhaps adding a special case would be best, or
you could solve it upstream by adding support for NaN and infinity to
newlib.

Not everybody uses Linux, so what glibc does is not entirely relevant..

glibc is the *GNU* C library, so it's obviously not Linux-specific.
Classpath is the *GNU* Java library, so it isn't unreasonable to
optimize for the glibc case.  If on non-glibc platforms floating-point
conversion isn't quite as exact as the spec requires, fixing that is
not a priority.  Of course if somebody wants to work on a more portable
solution, that is great, as lang as it doesn't penalize the glibc case.
--
        --Per Bothner
address@hidden   http://per.bothner.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]