Expand description
Utility functions and types.
This module define the [f16] and Complex types. If the half or num-complex features are enabled,
the corresponding types are re-exported from the half and num-complex crates respectively. Otherwise,
simple structs are defined, providing a minimal implementation with conversions from/to bits, without any
arithmetic operations.
Structs§
- Complex
- A complex number in Cartesian form.
- FfiVec
- A vector similar to
Vec<T>, but allocated using C’smallocand freed usingfree. - f16
- A 16-bit floating point type implementing the IEEE 754-2008 standard
binary16a.k.a “half” format.