Re: Unrestricted float

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