Function truncf16

Source
pub fn truncf16(x: f16) -> f16
Expand description

Rounds the number toward 0 to the closest integral value (f16).

This effectively removes the decimal part of the number, leaving the integral part.