commit | 70c1f36d5f61172cdbf4cebc994fd5ab8603f023 | [log] [tgz] |
---|---|---|
author | Herb Derby <herb@google.com> | Tue Jun 20 14:45:36 2023 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Tue Jun 20 19:53:59 2023 +0000 |
tree | 3e4ac50c4cced219eaf63392bb29b418d5ffa10d | |
parent | d56841344bbe82367828430339c79c62bc9df7ef [diff] |
Add sk_float_midpoint Calculate the midpoint of a and b in such a way that it does not overflow or underflow. Change-Id: I739c91ddf65b930a4c1689a1713480ca0820b71e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/714064 Commit-Queue: Herb Derby <herb@google.com> Reviewed-by: Brian Osman <brianosman@google.com>