Return zero for NaN-to-int lossy casts

Fixes #15038.

The goal here is to guarantee lossyCast() is panic-free and always safe.
cc56577edfMichael Bradshaw committed on 10/21/2023, 5:51:51 PM· committed by Veikka Tuominenparentb403ca0
1 file changedLine totals unavailable