These will not be relevant to many games at all, but are available as a consequence of the .NET framework Quest is built on. They are included here for completeness; if you need them, you will know what they do. There is no further documentation.
Quest has e and pi as built-in constants.
These all take a single floating point number, and return the corresponding floating point number. Note that the trigonometric functions use radians rather than degrees.
- Abs
- Acos
- Asin
- Atan
- Cos
- Exp
- Log
- Log10
- Sin
- Sinh
- Sqrt
- Tan
- Tanh
The following functions all take a floating point parameter and return an integer.
- Ceiling
- Floor
- Round
- Truncate
- Sign
These two functions take two parameters, and can be used with either floating point or integers, and return the same type.
- Max
- Min