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

fdim

MISSING


template <typename F1, typename F2, typename F, detail::enable_if_t<((detail::builtin::is_genfloat<F1>::value && detail::builtin::is_genfloat<F2>::value)), int> >
F fdim(F1 x, F2 y)
(1)
  1. `x - y` if `x > y`, +0 if x is less than or equal to y.
    Parameters:
    • F1 x
    • F2 y

syclreference.com — SYCL Reference Pages

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