std::intrinsics

Function log2f16

Source
pub unsafe extern "rust-intrinsic" fn log2f16(x: f16) -> f16
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Returns the base 2 logarithm of an f16.

The stabilized version of this intrinsic is f16::log2