generate valid C code for maths functions
This PR partially addresses this issue.
- When using CTarget, loopy will instead generate
fmin()andfmax()according to C99 standard, rather thanminandmax. - Relevant code in OpenCLTarget has been moved down to CTarget.
- Test added to test_target.py
Future work
- Change the behavior of
pymbolic.primitives.Minandpymbolic.primitives.Maxto generate corresponding function calls.