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

ldexp

MISSING


template <typename F, detail::enable_if_t<(detail::builtin::is_genfloat<F>::value), int> >
F ldexp(F x, const int k)
(1)
template <typename F, typename I, detail::enable_if_t<((detail::builtin::is_genfloat<F>::value && detail::builtin::is_genint<I>::value)), int> >
F ldexp(F x, I k)
(2)
  1. Multiply x by 2 to the power k.
    Parameters:
    • F x
    • const int k
  2. Multiply x by 2 to the power k.
    Parameters:
    • F x
    • I k

syclreference.com — SYCL Reference Pages

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