Re: [whatwg/webidl] Normative: Rename integer types to match ECMAScript typed arrays (#1030)

@bathos commented on this pull request.



> @@ -7512,7 +7584,7 @@ In effect, where <var ignore>x</var> is a Number value,
         1.  If |signedness| is "<code>unsigned</code>", then let |lowerBound| be 0.
         1.  Otherwise let |lowerBound| be −2<sup>53</sup> + 1.
 
-            Note: this ensures {{long long}} types
+            Note: this ensures {{int64}} types

This note pertained to both unsigned long long and long long, which already wasn’t very clear as written, but with “int64,” it’s even less clear that it means both variants (the upper bound clips both). Seems like listing both int64 and uint64 explicitly would fix that (or, given it’s a note, it could probably be worded like “64-bit integer types”).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1030#pullrequestreview-799495834

Received on Sunday, 7 November 2021 04:27:06 UTC