>>>>> "Andrew" == Andrew Welch <andrew.j.welch@xxxxxxxxx> writes:
>> >> Gestalt gives 10, 10, 10.
>>
Andrew> As far as I understand, which is not very far, it's a
Andrew> fundamental problem with binary arithmetic. The standard
Andrew> division technique is fast but incurs this sort of
Andrew> problem, while the BigDecimal approach is exact but much
Andrew> slower.
You've lost me - we were talking about integer division, I thought.
If you are talking about xs:double, compared with xs:decimal, then
yes. But I don't see how that comes into the problem.
--
Colin Adams
Preston Lancashire
|