std::intrinsics

Function truncf16

Source
pub unsafe fn truncf16(_x: f16) -> f16
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Returns the integer part of an f16.

The stabilized version of this intrinsic is f16::trunc