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

nan

MISSING


template <typename I, detail::enable_if_t<(computecpp::gsl::or_<detail::builtin::is_ugenint<I>::value, detail::builtin::is_ugenlonginteger<I>::value>::value), int> >
auto nan(I nancode) -> detail::matching_float_t<I>
(1)
template <typename I, detail::enable_if_t<(detail::builtin::is_ushortn<I>::value), int> >
detail::matching_float_t<I> nan(I nancode)
(2)
  1. Returns x if |x| < |y|, y if |y| < |x|, otherwise `fmin(x, y)`.
    Parameters:
    • I nancode

  2. Parameters:
    • I nancode

syclreference.com — SYCL Reference Pages

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