RE: Question about decimal arithmetic

> I don't think deciding precision based on instance information is
> acceptable. Many type systems have precision (and scale) as a 
> type facet
> that should be determined based on the arguments.

A system that always maintained decimals to exactly 18 places would be
conformant with this proposal.
> 
> Also, I am not yet convinced that anything stricter than
> implementation-defined will be acceptable given the wide range of
> implementation platforms...
> 
I think it's clear that a specification that allows the result of 10 div 3
to be 3.5 is unacceptable to quite a few of our readers.

Michael Kay

Received on Monday, 5 April 2004 15:54:11 UTC