Add back clamping and add tests (#1969)
Fixes #1957 Clamping was removed in #1853. Turns out clamping as necessary to handle overflow/underflow cases. during downcasting, if it overflowed then without clamping it returned infinity.
Showing
Please register or sign in to comment