Re: [XSLT 2.0] Data types for a Basic XSLT processor

>>>>> "MK" == Michael Kay <mhk@mhk.me.uk> writes:

    MK> It's possible to implement xs:integer using 64-bit hardware
    MK> arithmetic, I believe*. It's certainly possible to implement
    MK> it so that it uses hardware arithmetic when the numbers are
    MK> small enough. I've no idea about xs:decimal - I grew up with
    MK> machines that did decimal arithmetic in hardware, but I
    MK> suspect that's gone out of fashion? As for float and double,
    MK> surely 32-bit floating point is a complete anachronism? 20

Then why is it in XML Schema part 2?

    MK> But this is aside from the point. I don't believe that numeric
    MK> arithmetic accounts for a sufficiently high proportion of XSLT
    MK> execution costs for this to be a real concern.

Then why include xs:double? Pointless.

    MK> 18)". 64 bits is enough to meet this requirement. I think the
    MK> word "minimum" here is meaningless, and best ignored.

I don't think so. I think it means you should implement arbitrary
precision if you can.  
-- 
Colin Paul Adams
Preston Lancashire

Received on Thursday, 18 March 2004 09:05:08 UTC