Skip to main content

strip_float_suffix

Function strip_float_suffix 

Source
fn strip_float_suffix(intrinsic_name: &str) -> &str
Expand description

Remove f16/f32/f64/f128 suffix, if any.

Also strip trailing f (indicates “float”), with an exception for “erf” to avoid removing that f.