[Webkit-unassigned] [Bug 29137] New: [WinCE] Loss of accuracy: Using abs() instead of fabs() in addArcTo()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 10 12:00:33 PDT 2009


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

           Summary: [WinCE] Loss of accuracy: Using abs() instead of
                    fabs() in addArcTo()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jpetsovits at rim.com


PlatformPathWinCE does lots of calculations on doubles, but in one place in
addArcTo() it's unintentionally using the integer abs() function instead of
fabs(), thus losing accuracy, which can lead to incorrect drawing of arcs.

See the patch below which fixes this.

-- 
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