W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2009

Re: [WebIDL] double

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 14 Jun 2009 18:39:17 +0000 (UTC)
To: Cameron McCormack <cam@mcc.id.au>
Cc: Anne van Kesteren <annevk@opera.com>, Marcin Hanclik <Marcin.Hanclik@access-company.com>, Andrei Popescu <andreip@google.com>, public-webapps@w3.org, public-geolocation@w3.org
Message-ID: <Pine.LNX.4.62.0906141838070.16244@hixie.dreamhostps.com>
On Mon, 15 Jun 2009, Cameron McCormack wrote:
>
> I’ve added a distinct double type, as exists in OMG IDL:
> 
>   http://dev.w3.org/2006/webapi/WebIDL/#idl-double
>   http://dev.w3.org/2006/webapi/WebIDL/#es-double
>   http://dev.w3.org/2006/webapi/WebIDL/#java-double

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?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 14 June 2009 18:39:56 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:31 GMT