summaryrefslogtreecommitdiff
path: root/generic/include/clc/shared/clamp.inc
blob: aaff9d0ff07f07137faab587db1c13240730b637 (plain)
1
2
3
4
5
_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE clamp(__CLC_GENTYPE x, __CLC_GENTYPE y, __CLC_GENTYPE z);

#ifndef __CLC_SCALAR
_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE clamp(__CLC_GENTYPE x, __CLC_SCALAR_GENTYPE y, __CLC_SCALAR_GENTYPE z);
#endif