You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix fptrunc Float64 -> Float16 rounding through Float32 (#57809)
Widening from Float32 to Float64 and then rounding to Float16 will not
introduce any error, but going from Float64 -> Float32 -> Float16 will
round incorrectly if the intermediate Float32 is halfway between two
Float16s.
Fixes#57805.
Thanks to @vtjnash for suggesting the fix.
Co-authored-by: Jameson Nash <[email protected]>
0 commit comments