pub fn float_const( field_context: &FieldContext<'_>, value: f32, target: f32, error_message: &'static str, ) -> Result<(), Violation>