- From: Tobie Langel <notifications@github.com>
- Date: Fri, 11 Nov 2016 08:48:48 -0800
- To: heycam/webidl <webidl@noreply.github.com>
Received on Friday, 11 November 2016 16:49:53 UTC
tobie commented on this pull request. > + 1. If |type| is "unsigned", then let |lowerBound| be 0. + 1. Otherwise let |lowerBound| be −2<sup>53</sup>. + + Note: in ECMAScript, all numbers including integers are represented as + double-precision 64 bit IEEE 754 floating point numbers. + + Issue: Complete this explanation once I understand why we're only concerned + about this when clamping and not for all values. + + 1. Otherwise, if |type| is "unsigned", then: + 1. Let |lowerBound| be 0. + 1. Let |upperBound| be 2<sup>|bitLength|</sup> - 1. + 1. Otherwise: + 1. Let |lowerBound| be -2<sup>|bitLength - 1|</sup>. + 1. Let |upperBound| be 2<sup>|bitLength - 1|</sup> - 1. + 1. Initialize |x| to [=ToNumber=](|V|). Done. -- 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 Friday, 11 November 2016 16:49:53 UTC