This is the mail archive of the kawa@sourceware.cygnus.com mailing list for the Kawa project. See the Kawa home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

kawa numerics help?



Two little notes I forgot in my previous announcement:

1) I will be on vacation and probably won't be able to check email
until probably July 9.

2) If someone wants a non-trivial but finite project that would
help Kawa (and specifically help finish the format routine),
I would love to have someone implement the floating-point
conversion code.  Ideally, I would like to have someone transcribe
David Gay's code from C into Java, but using the gnu.math MPN and
IntNum classes, instead of Gay's bignum implementation.  Gay's code
is in:

	ftp://netlib.bell-labs.com/netlib/fp/gdtoa.tar.gz

The specific function needed is a Java version of dtoa.c.
The challenge is to understand the numerics well enough to
re-implement the (lightly-commented) algorithms in Java.

This task may also be useful for free re-implementations of
java.text.DeciamlFormat and java.lang.Double.toString.

	--Per Bothner
Cygnus Solutions     bothner@cygnus.com     http://www.cygnus.com/~bothner