Documentation of math functions

I was trying to write a question allowing students to enter two numbers, and then award credit when the two numbers were both in a particular range and their product was even. Anyway, my first guess for checking whether the product was even was $v*$deg % 2 = 0, while it should have been mod($v*$deg, 2) = 0.

Which is to say that it would be nice to have a documented list of the functions available for math.

Yes, we definitely need to do that! I opened a tracking issue.

For the moment, there’s a partial list in the documentation for the <math> component, although mod() isn’t there. Scroll to:

Example: Some common <math> functions and their syntax