Skip to main content
Log in

Mojo function

mulhi

mulhi(a: SIMD[uint16, 1], b: SIMD[uint16, 1]) -> SIMD[uint32, 1]

Calculate the most significant 32 bits of the product of the two UInt16s.

mulhi(a: SIMD[int16, 1], b: SIMD[int16, 1]) -> SIMD[int32, 1]

Calculate the most significant 32 bits of the product of the two Int16s.

mulhi(a: SIMD[uint32, 1], b: SIMD[uint32, 1]) -> SIMD[uint32, 1]

Calculate the most significant 32 bits of the product of the two UInts.

mulhi(a: SIMD[int32, 1], b: SIMD[int32, 1]) -> SIMD[int32, 1]

Calculate the most significant 32 bits of the product of the two Ints.