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

mad

MISSING


template <typename F1, typename F2, typename F3, typename F, detail::enable_if_t<((detail::builtin::is_genfloat<F1>::value && detail::builtin::is_genfloat<F2>::value && detail::builtin::is_genfloat<F3>::value)), int> >
F mad(F1 a, F2 b, F3 c)
(1)
  1. mad approximates `a * b + c`.
    Parameters:
    • F1 a
    • F2 b
    • F3 c

syclreference.com — SYCL Reference Pages

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