The Analytic Information Server engine supplies a number of built-in mathematical functions for operating on numbers. In addition to simple arithmetic functions, there are some basic statistical operations, random number generation, and numeric properties testing.
Here is a list of the links to the AIS built-in Math Functions with their corresponding examples.