Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Issue 1097473002: Correct SkFixedToDouble. (Closed)

Created:
5 years, 8 months ago by bungeman-skia
Modified:
5 years, 8 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Correct SkFixedToDouble. SkFixedToDouble uses the decimal floating point string representation of 1/(2^16) to provide a constant value. This value is exactly representable by a double but the decimal constant currently used does not map to this value. This change modifies this constant to more decimal digits so that the actual double value desired is created. Committed: https://skia.googlesource.com/skia/+/f4fddfc300f983eb221327fa9b1588c3b08262a6

Patch Set 1 #

Total comments: 1

Patch Set 2 : Correct the floating point value as well (fixes possible rounding issues). #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M include/core/SkFixed.h View 1 2 chunks +2 lines, -2 lines 2 comments Download

Messages

Total messages: 13 (5 generated)
bungeman-skia
This is currently being tried on Blink at https://codereview.chromium.org/1096543003/ . Based on local tests, this ...
5 years, 8 months ago (2015-04-16 20:41:31 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097473002/20001
5 years, 8 months ago (2015-04-16 21:19:14 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-16 21:25:48 UTC) #6
bungeman-skia
According to https://codereview.chromium.org/1096543003/ this doesn't affect any of the current layout tests, so I think ...
5 years, 8 months ago (2015-04-17 14:55:42 UTC) #7
mtklein
lgtm
5 years, 8 months ago (2015-04-17 15:18:07 UTC) #8
bsalomon
lgtm
5 years, 8 months ago (2015-04-17 17:04:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097473002/20001
5 years, 8 months ago (2015-04-17 17:05:36 UTC) #12
commit-bot: I haz the power
5 years, 8 months ago (2015-04-17 17:05:48 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/f4fddfc300f983eb221327fa9b1588c3b08262a6

Powered by Google App Engine
This is Rietveld 408576698