| bfloat |
|
|
| bfloat.rs |
|
59986 |
| binary16 |
|
|
| binary16.rs |
|
63120 |
| leading_zeros.rs |
|
1500 |
| lib.rs |
|
11270 |
| num_traits.rs |
|
32053 |
| rand_distr.rs |
|
4303 |
| slice.rs |
Contains utility functions and traits to convert between slices of [`u16`] bits and [`struct@f16`] or
[`struct@bf16`] numbers.
The utility [`HalfBitsSliceExt`] sealed extension trait is implemented for `[u16]` slices,
while the utility [`HalfFloatSliceExt`] sealed extension trait is implemented for both `[f16]`
and `[bf16]` slices. These traits provide efficient conversions and reinterpret casting of
larger buffers of floating point values, and are automatically included in the
[`prelude`][crate::prelude] module. |
27669 |
| vec.rs |
Contains utility functions and traits to convert between vectors of [`u16`] bits and [`struct@f16`] or
[`bf16`] vectors.
The utility [`HalfBitsVecExt`] sealed extension trait is implemented for [`Vec<u16>`] vectors,
while the utility [`HalfFloatVecExt`] sealed extension trait is implemented for both
[`Vec<f16>`] and [`Vec<bf16>`] vectors. These traits provide efficient conversions and
reinterpret casting of larger buffers of floating point values, and are automatically included
in the [`prelude`][crate::prelude] module.
This module is only available with the `std` or `alloc` feature. |
9700 |