- From: Tobie Langel <notifications@github.com>
- Date: Fri, 11 Nov 2016 14:03:42 -0800
- To: heycam/webidl <webidl@noreply.github.com>
Received on Friday, 11 November 2016 22:04:15 UTC
tobie commented on this pull request. > + 1. If |bitLength| is 64, then: + 1. Let |upperBound| be 2<sup>53</sup> − 1. + 1. If |signedness| is "unsigned", then let |lowerBound| be 0. + 1. Otherwise let |lowerBound| be −2<sup>53</sup> + 1. + + 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 |signedness| 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>. Boy, has this PR been sloppy. Apologies. -- 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 22:04:15 UTC