- if let Some(Constant::Float(ref lhs_value, lhs_width)) = constant_simple(cx, left);
- if let Some(Constant::Float(ref rhs_value, rhs_width)) = constant_simple(cx, right);
- if Ok(0.0) == lhs_value.parse();
- if Ok(0.0) == rhs_value.parse();
+ if let Some(lhs_value) = constant_simple(cx, cx.tables, left);
+ if let Some(rhs_value) = constant_simple(cx, cx.tables, right);
+ if Constant::F32(0.0) == lhs_value || Constant::F64(0.0) == lhs_value;
+ if Constant::F32(0.0) == rhs_value || Constant::F64(0.0) == rhs_value;