[Webkit-unassigned] [Bug 112758] [V8] Simplify implementation of EnforceRange conversions
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 19 17:48:44 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=112758
--- Comment #1 from Michael Pruett <michael at 68k.org> 2013-03-19 17:51:11 PST ---
Rounding to the nearest integer not greater in absolute value, currently accomplished using the following formula in V8Binding.cpp:
x = (x < 0 ? -1 : 1) * floor(fabs(x))
can be expressed more succinctly:
x = trunc(x)
--
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