Re: java.math.*

2001-10-28 Thread Brian Jones

Per Bothner <[EMAIL PROTECTED]> writes:

> 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
> >objections?
> >
> You have my blessing (as author of Kawa and the MPN class).

Thank you.
 
> 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.  

I've added this as a task to the Savannah project page for java.math.

-- 
Brian Jones <[EMAIL PROTECTED]>

___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath



Re: java.math.*

2001-10-28 Thread Per Bothner

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
>objections?
>
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



___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath



java.math.*

2001-10-28 Thread Brian Jones

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
objections?

Brian
-- 
Brian Jones <[EMAIL PROTECTED]>

___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath