Function is_float_literal

Source
pub fn is_float_literal(expr: &Expr<'_>, value: f64) -> bool
Expand description

Checks whether the given expression is a constant literal of the given value.