Peter,

Sounds good on the items listed.  Definitely represent decimals with a
double.  There's some problems with precision, but (personally) I'd say
that's not significant.  (was that an unintended pun?  not sure).  Let me
know if I can help with anything.

By the way, some languages use "\" to represent integer division.  Want to
go for that instead of DIV?  If we do use 'div', I suggest lower case as
that's more consistent.

WILL

----- Original Message ----- 
From: "Peter Romianowski" <[EMAIL PROTECTED]>
To: "Velocity Developers List" <[EMAIL PROTECTED]>
Sent: Thursday, June 26, 2003 2:17 PM
Subject: Re: Velocity Numerics [PATCH]


> Will Glass-Husain wrote:
>
> > Peter,
> >
> > I agree with you on the BigDecimals.  Get it working with the right
> > functionality, and refactor the implementation later.
>  >
> > What do we need to do with the numerics patch to have it be "good
enough" to
> > submit officially for CVS access?  It'd be nice if the addition was
> > comprehensive enough that it could be immediately used without a lot of
> > caveats.
> >
> > I suggest
> > -- basic arithmetic & logic (done)
> > -- TemplateNumber (done)
> > -- Comparable (probably not hard)
> > -- decimal literals
> >
> > Anything else?  When this is ready I suggest we officially request Geir
to
>
> I would add:
>
> - complete documentation about the new number-behavior
> - what about a DIV operator which is generally useful and good for BC.
>
> > patch the CVS so a wider audience can play with this.  I know we're all
> > waiting to see what happens then.  :-)
>
> I'll try to find some time tomorrow and on the weekend to focus on
> the Comparable, decimal literals and DIV operator. It should be not
> that hard at all. I'd say that decimal literals are represented by
> a Double-Object. Any objections?
>
> If anybody else is working on something please let me know!
>
> Peter
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to