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

islessgreater

Returns the component-wise compare of (x < y) || (x > y).


template <typename F, detail::enable_if_t<(detail::builtin::is_genfloat<F>::value), int> >
detail::matching_integral_t<F> islessgreater(F x, F y)
(1)
  1. Returns the component-wise compare of `(x < y) || (x > y)`.
    Parameters:
    • F x
    • F y

syclreference.com — SYCL Reference Pages

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