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

maxmag

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 maxmag(F1 x, F2 y)
(1)
  1. Returns x if |x| > |y|, y if |y| > |x|, otherwise `fmax(x, y)`.
    Parameters:
    • F1 x
    • F2 y

syclreference.com — SYCL Reference Pages

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