Repository navigation
Conversation
|
I don't think this changes behavior of |
Good catch! That's an oversight. I think you'd proposed it as a possible approach in #21343, but now it's clear that that doesn't quite work as anticipated. If I look at prior art in R or Matlab, and it suggests |
|
Hmmm, I am not sure. I suspect that the only way is to actually check for infinite/non-finite values (and maybe a fast-path when no such value exists, since that is likely). |
|
@evinism just a gentle ping in case you have time to look at it again (just because I stumbled on it). I suspect the overhead of adding the check is very small, so adding An interesting angle is that C++20 actually has |
|
This seems to have stranded, so I'm going to close it. We can re-open if you still want to work on this @evinism |
Addresses #21932
Copies equal values directly across in
_lerp