function
frexp
frexp[type: DType, simd_width: Int](x: SIMD[type, simd_width]) -> StaticTuple[SIMD[$0, $1], 2]
Breaks floating point values into a fractional part and an exponent part.
Parameters:
- type (
DType
): Thedtype
of the input and output SIMD vector. Constraints: must be a floating-point type. - simd_width (
Int
): The width of the input and output SIMD vector.
Args:
- x (
SIMD[type, simd_width]
): The input values.
Returns:
A tuple of two SIMD vectors containing the fractional and exponent parts of the input floating point values.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
😔 What went wrong?