math: make `cast` return optional instead of an error

0e6285c8fcAli Chraghi committed on 5/27/2022, 8:43:33 PM· committed by Andrew Kelleyparentddd5b57
37 files changedLine totals unavailable