C math
- Adds function mangler to C target and OpenCL target so as to generate correct maths function according to the argument types.
- Examples:
-
fmaxfor double,fmaxffor float on C target -
fmaxfor double and float on OpenCL target (there is nofmaxfin OpenCL standard) -
maxfor integer types on OpenCL target (there is no max for integer types in C)
Reference: