[][src]Module half::slice

Contains utility functions to convert between slices of u16 bits and f16 numbers.

Functions

from_bits

Reinterpret a slice of u16 bits as a slice of f16 numbers.

from_bits_mut

Reinterpret a mutable slice of u16 bits as a mutable slice of f16 numbers.

to_bits

Reinterpret a slice of f16 numbers as a slice of u16 bits.

to_bits_mut

Reinterpret a mutable slice of f16 numbers as a mutable slice of u16 bits.