[][src]Function core::intrinsics::float_to_int_approx_unchecked

pub unsafe extern "rust-intrinsic" fn float_to_int_approx_unchecked<Float, Int>(
    value: Float
) -> Int
🔬 This is a nightly-only experimental API. (core_intrinsics)

intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library

Convert with LLVM’s fptoui/fptosi, which may return undef for values out of range (https://github.com/rust-lang/rust/issues/10184) This is under stabilization at https://github.com/rust-lang/rust/issues/67058