commit | 72d2f571ff2ab836640ccc1657a56cfeed14f326 | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@google.com> | Thu Sep 19 10:33:36 2019 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Sep 19 17:40:58 2019 +0000 |
tree | 8c91dbe5711b2ae7a38cdeb2cbb352bdaef9cfe6 | |
parent | b2f55532bb6d515a1c027ad91594cd753d1056ee [diff] |
stifle warning in tValue2Scalar() Spun off from https://skia-review.googlesource.com/c/skia/+/242776. I was worried there that this indicated a bug, that we're actually working with a slightly-wrong denominator, but thanks to the wonders of float rounding, turns out everything's probably ok. This is the same as that CL above with unit tests that the important boundary conditions work correctly. Change-Id: I1df469daf48df12f0e72778e6af58f5e733452ed Reviewed-on: https://skia-review.googlesource.com/c/skia/+/242841 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Klein <mtklein@google.com>