For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).
extract
extract[width: Int, //](x: SIMD[DType.float32, width]) -> SIMD[DType.int32, width]
Internal helper function to extract binary exponent from float.
Args:
- x (
SIMD[DType.float32, width]): Input floating-point value (assumed positive).
Returns:
SIMD[DType.int32, width]: Unbiased binary exponent as integer.