Skip to main content

trunc

Function trunc 

Source
pub const fn trunc(x: Real) -> Real
Expand description

Const-compatible version of f64::trunc (rounds toward zero)