W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2012

Re: [IDL] merge float and double

From: Brendan Eich <brendan@mozilla.org>
Date: Fri, 29 Jun 2012 10:19:57 +0200
Message-ID: <4FED652D.5020505@mozilla.org>
To: Anne van Kesteren <annevk@annevk.nl>
CC: public-script-coord@w3.org
Anne van Kesteren wrote:
> It has come up a few times but never as a serious suggestion. Should
> we just go ahead and have only one of float/double as that matches
> JavaScript better? I think most specifications use double anyway.

This is too rear-view mirror and technically blind to hardware economics 
(reflected in C's history). GPUs need float, JS is programming GPUs, we 
have typed arrays of floats. Do not equate float with double.

/be
Received on Friday, 29 June 2012 08:20:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:06 UTC