Re: [heycam/webidl] Refactor integer conversion in ES bindings. (#235)

tobie commented on this pull request.



> +    represents the closest numeric value to the {{unsigned long long}},
+    choosing the numeric value with an <em>even significand</em> if there are
+    two [=equally close values=].
+    If the {{unsigned long long}} is less than or equal to 2<sup>53</sup> − 1,
+    then the <emu-val>Number</emu-val> will be able to
+    represent exactly the same value as the
+    {{unsigned long long}}.
+</p>
+
+<h5 id="es-integer-types-abstract-ops">Abstract operations</h5>
+
+<div algorithm>
+
+    <dfn lt="IntegerPart" abstract-op>IntegerPart(|n|)</dfn>:
+
+    1.  Let |r| be [=floor=]([=abs=](|n|))

Fixed in https://github.com/heycam/webidl/commit/36168b74d698015c015d94f2a27414795292217b.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/235

Received on Saturday, 12 November 2016 08:26:45 UTC