|
Subject: Re: [xsl] floor() and idiv From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> Date: Thu, 06 Nov 2008 20:16:29 +0000 |
>>>>> "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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] floor() and idiv, Andrew Welch | Thread | Re: [xsl] floor() and idiv, Andrew Welch |
| Re: [xsl] floor() and idiv, Andrew Welch | Date | Re: [xsl] floor() and idiv, Andrew Welch |
| Month |