[Top][All Lists]

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

Re: java.math.*

From: Per Bothner
Subject: Re: java.math.*
Date: Sun, 28 Oct 2001 12:00:44 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20010901

Brian Jones wrote:

I'd like to adopt the gcj java.math.BigInteger/BigDecimal classes and
the related gnu.gcj.math.MPN.  This latter class is from Kawa so I'd
like to make sure we can use this.  Are there any problems or

You have my blessing (as author of Kawa and the MPN class).

It would be nice if someone cleaned up the serialization. Right now
BigInteger has a bunch of extra fields which are only used
temporarily during serialization, to match Sun's format.  It would be
great if someone who knows the serialization format (or wants to
learn) could write the code to generate the correct serilaization
direcectly without using temporary fields.  (Even better would be to
avoid generating temporary objects when serializing, but I'll settle
for getting rid of the extra fields.)
   --Per Bothner

reply via email to

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