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

fmin

MISSING


template <typename F1, typename F2, typename F, detail::enable_if_t<(detail::builtin::is_genfloat<F1>::value && (detail::builtin::is_genfloat<F2>::value || detail::builtin::is_sgenfloat<F2, detail::scalar_t<F>>::value)), int> >
F fmin(F1 x, F2 y)
(1)
  1. Returns y if y < x, otherwise it returns x.
    Parameters:
    • F1 x
    • F2 y

syclreference.com — SYCL Reference Pages

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