syclreference.com
  1. SYCL
  2. | API Reference
  3. | Built-Ins
  4. | mul24

mul24

Multiply two 24-bit integer values x and y. x and y are 32-bit integers but only the low 24-bits are used to perform the multiplication.


template <typename I, detail::enable_if_t<(detail::builtin::is_geninteger32bit<I>::value), int> >
I mul24(I x, I y)
(1)
  1. Multiply two 24-bit integer values `x` and `y`. `x` and `y` are 32-bit integers but only the low 24-bits are used to perform the multiplication.
    Parameters:
    • I x
    • I y

syclreference.com — SYCL Reference Pages

Last updated: 2019-01-24 00:24:52 +0000