commit | 06768fc14b7a4630f59d25dc5983b2b550d71970 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Wed Oct 31 13:30:52 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Oct 31 18:02:00 2018 +0000 |
tree | a97b60c2b033bf886a5dc0c02a6276f6ed608595 | |
parent | 0dfa208450303c42ffee702ff29b4dd4200b2a63 [diff] |
Use std::numeric_limits for SK_FloatNaN and Infinity The Windows header definitions of NAN and INFINITY involve overflowing math, making clang treat them as not being constexpr. Now they're constexpr everywhere. Bug: skia: Change-Id: I84c05aae2952a152fed4eceb55cd2680d6fd5b05 Reviewed-on: https://skia-review.googlesource.com/c/166840 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Brian Osman <brianosman@google.com>