[Webkit-unassigned] [Bug 129479] Implement Number.prototype.clz()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 3 09:21:55 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=129479


Dániel Bátyai <dbatyai.u-szeged at partner.samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #225661|                            |review?
               Flag|                            |




--- Comment #6 from Dániel Bátyai <dbatyai.u-szeged at partner.samsung.com>  2014-03-03 09:18:58 PST ---
Created an attachment (id=225661)
 --> (https://bugs.webkit.org/attachment.cgi?id=225661&action=review)
Proposed patch

Modified according to comments.

Unfortunately, __builtin_clz(0) was returning 31 instead of the 32 specified in the standard, so I had to add a check for that.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list