commit | 788fe69e7ade1b88ba76939a76694c9d19e86c5f | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Mon Dec 12 11:45:30 2022 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Mon Dec 12 19:09:00 2022 +0000 |
tree | d9e97537470370d975dc51e8f2d0d012f7da04c3 | |
parent | d800eb741607e97a5e4637c4024b2e6179e1961b [diff] |
Fix NaNs at 0 in ix_and_ptr() when rounding down. Makes the clamp exclusive on left side as well so result is always greater than zero and then does the ulp subtraction if required. Bug: skia:13752 Change-Id: I9165e6baf2e823a419dcc79ab03c7c174098c72e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/617196 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>