browser.js |
|
0 |
infinity.js |
---
esid: sec-math.clz32
description: >
Return 32 if x is Infinity or -Infinity
info: |
Math.clz32 ( x )
1. Let n be ToUint32(x).
2. Let p be the number of leading zero bits in the 32-bit binary representation of n.
3. Return p.
7.1.6 ToUint32 ( argument )
[...]
2. If number is NaN, +0, -0, +∞, or -∞, return +0.
[...]
--- |
629 |
int32bit.js |
---
esid: sec-math.clz32
description: >
Catches the int32bit value in the ToUint32 operation
info: |
Math.clz32 ( x )
1. Let n be ToUint32(x).
2. Let p be the number of leading zero bits in the 32-bit binary representation of n.
3. Return p.
7.1.6 ToUint32 ( argument )
[...]
3. Let int be the mathematical value that is the same sign as number and whose
magnitude is floor(abs(number)).
4. Let int32bit be int modulo 232.
5. Return int32bit.
[...]
--- |
1615 |
length.js |
---
es6id: 20.2.2.11
description: >
Math.clz32.length is 1.
info: |
Math.clz32 ( x )
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, has a length
property whose value is an integer. Unless otherwise specified, this
value is equal to the largest number of named arguments shown in the
subclause headings for the function description, including optional
parameters. However, rest parameters shown using the form “...name”
are not included in the default argument count.
Unless otherwise specified, the length property of a built-in Function
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
1042 |
Math.clz32.js |
---
es6id: 20.2.2.11
author: Ryan Lewis
description: Math.clz32 should return 32 if passed 0.
--- |
362 |
Math.clz32_1.js |
---
es6id: 20.2.2.11
author: Ryan Lewis
description: Math.clz32 should return 31 if passed 1.
--- |
306 |
Math.clz32_2.js |
---
es6id: 20.2.2.11
author: Ryan Lewis
description: Math.clz32 should return 0 if passed 2147483648
--- |
330 |
name.js |
---
es6id: 20.2.2.11
description: >
Math.clz32.name is "clz32".
info: |
Math.clz32 ( x )
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, that is not
identified as an anonymous function has a name property whose value
is a String.
Unless otherwise specified, the name property of a built-in Function
object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
805 |
nan.js |
---
esid: sec-math.clz32
description: >
Return 32 if x is NaN
info: |
Math.clz32 ( x )
1. Let n be ToUint32(x).
2. Let p be the number of leading zero bits in the 32-bit binary representation of n.
3. Return p.
7.1.6 ToUint32 ( argument )
[...]
2. If number is NaN, +0, -0, +∞, or -∞, return +0.
[...]
--- |
536 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Math.clz32 does not implement [[Construct]], is not new-able
info: |
ECMAScript Function Objects
Built-in function objects that are not identified as constructors do not
implement the [[Construct]] internal method unless otherwise specified in
the description of a particular function.
sec-evaluatenew
...
7. If IsConstructor(constructor) is false, throw a TypeError exception.
...
includes: [isConstructor.js]
features: [Reflect.construct, arrow-function]
--- |
862 |
prop-desc.js |
---
esid: sec-math.clz32
description: >
"clz32" property of Math
info: |
Section 17: Every other data property described in clauses 18 through 26
and in Annex B.2 has the attributes { [[Writable]]: true,
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
includes: [propertyHelper.js]
--- |
590 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |