half 2.4.0

Half-precision floating point f16 and bf16 types for Rust implementing the IEEE 754-2008 standard binary16 and bfloat16 types.
Documentation

half

There is very little structured metadata to build this page from currently. You should check the main library docs, readme, or Cargo.toml in case the author documented the features in them.

This version has 10 feature flags, 3 of them enabled by default.

default

  • std

std

  • alloc

alloc

    This feature flag does not enable additional features.

rand_distr

  • dep:rand
  • dep:rand_distr

num-traits

  • dep:num-traits

serde

  • dep:serde

bytemuck

  • dep:bytemuck

rkyv

  • dep:rkyv

zerocopy

  • dep:zerocopy

use-intrinsics

    This feature flag does not enable additional features.