summaryrefslogtreecommitdiff
path: root/generic/lib/math/mad.inc
blob: aec9c06ddd880fb00cc9da88f0a50b71b0f4ee59 (plain)
1
2
3
_CLC_OVERLOAD _CLC_DEF GENTYPE mad(GENTYPE a, GENTYPE b, GENTYPE c) {
  return a * b + c;
}