Closed Bug 886944 Opened 11 years ago Closed 11 years ago

Implement ES6 Number.prototype.clz

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 925123

People

(Reporter: bbenvie, Unassigned)

References

(Blocks 1 open bug)

Details

`Number.prototype.clz` returns the number of leading zero bits in the 32-bit binary representation of the number.

See ES6 spec (May 2013 revision) section 15.7.4.8

See also: https://mail.mozilla.org/pipermail/es-discuss/2011-March/013403.html (search for clz)
See also Bug 925123!
I'm going to dupe this on bug 925123. A clz by any other name and all that.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.