Re: [WebIDL] double

Ian Hickson:
> How do I know when to use float or double, for types that are supposed to 
> represent infinite range? Should I just make everything double?

If you want more range, sure, use double.  Web IDL doesn’t have an
arbitrary precision numeric type.  But double specifically means 64-bit
IEEE 754 double precision floating point, here, which is just what JS
Number is (except for the NaNs).

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Sunday, 14 June 2009 20:56:49 UTC