WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
139888
Saturated arithmetics: Incorrect float/double clamping.
https://bugs.webkit.org/show_bug.cgi?id=139888
Summary
Saturated arithmetics: Incorrect float/double clamping.
alan
Reported
2014-12-22 17:25:28 PST
#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
Attachments
Patch
(3.68 KB, patch)
2014-12-22 17:29 PST
,
alan
no flags
Details
Formatted Diff
Diff
Patch
(3.50 KB, patch)
2014-12-31 22:56 PST
,
alan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
alan
Comment 1
2014-12-22 17:28:02 PST
rdar://problem/19330885
alan
Comment 2
2014-12-22 17:29:55 PST
Created
attachment 243653
[details]
Patch
alan
Comment 3
2014-12-31 22:56:07 PST
Created
attachment 243858
[details]
Patch
WebKit Commit Bot
Comment 4
2015-01-01 00:32:29 PST
Comment on
attachment 243858
[details]
Patch Clearing flags on attachment: 243858 Committed
r177845
: <
http://trac.webkit.org/changeset/177845
>
WebKit Commit Bot
Comment 5
2015-01-01 00:32:33 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug