- From: Tobie Langel <notifications@github.com>
- Date: Fri, 11 Nov 2016 08:48:45 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Message-ID: <heycam/webidl/pull/235/review/8227943@github.com>
tobie commented on this pull request. > + + 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|). + 1. If the conversion to an IDL value is being performed due to any of the following: + * |V| is being assigned to an [=attribute=] annotated with the [{{EnforceRange}}] [=extended attribute=], + * |V| is being passed as an [=operation=] argument annotated with the [{{EnforceRange}}] extended attribute, or + * |V| is being used as the value of a [=dictionary member=] annotated with the [{{EnforceRange}}] extended attribute, + + then: + + 1. Perform [=?=]<a abstract-op>AssertFinite</a>(|x|). 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:35 UTC