[Webkit-unassigned] [Bug 139888] New: Saturated arithmetics: Incorrect float/double clamping.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 22 17:25:28 PST 2014


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

            Bug ID: 139888
           Summary: Saturated arithmetics: Incorrect float/double
                    clamping.
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zalan at apple.com

#if ENABLE(SATURATED_LAYOUT_ARITHMETIC)
-        m_value = clampTo<float>(value * kFixedPointDenominator, static_cast<float>(INT_MIN), static_cast<float>(INT_MAX));
+        m_value = clampToInteger(value * kFixedPointDenominator);
 #else

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141223/ee41af57/attachment-0002.html>


More information about the webkit-unassigned mailing list