Open Shfty opened 1 year ago
Currently, f64 -> f32 is done via as, which causes inf in cases where the value exceeds f32::MAX.
f64
f32
as
inf
f32::MAX
This causes the syn backend to fail, as numbers are parsed textually, and 'inff32' is not a valid f32.
syn
Currently,
f64
->f32
is done viaas
, which causesinf
in cases where the value exceedsf32::MAX
.This causes the
syn
backend to fail, as numbers are parsed textually, and 'inff32' is not a valid f32.