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

Re: Unrestricted float

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 06 Apr 2012 18:35:37 -0400
Message-ID: <4F7F6FB9.6010500@mit.edu>
To: Ian Hickson <ian@hixie.ch>
CC: public-script-coord@w3.org
On 4/6/12 6:29 PM, Ian Hickson wrote:
>> More precisely, the 'float' and 'double' types in WebIDL have been
>> redefined to throw on non-finite floats.  There are now 'unrestricted
>> float' and 'unrestricted double' types for cases where non-finite floats
>> should be passed through to the underlying method.
>
> Huh. First I heard of it.

Yeah, we really need some mechanism to notify specs using WebIDL when 
WebIDL changes.  :(

> Everything in the HTML spec that uses floating point uses double, not
> float. I guess that means I should be going through everything and
> changing most of it to refer to "unrestricted double" instead of just
> "double".

Oh, interesting.  Last I'd looked at the 2d context it was using float 
in some places.  OK, then!

-Boris

P.S.  I believe the typed arrays specs also need to switch to the 
unrestricted types....
Received on Friday, 6 April 2012 22:36:11 UTC

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