The following basic math functions are available in Texis:
All of the above functions return a result of type double.
fmod take two double arguments, the remainder
take one double argument. Added in version: 2.6.931790000
In addition, the following math-related functions are available:
isNaN(x)Returns 1 if
xis a float or double NaN (Not a Number) value, 0 if not. This function should be used to test for NaN, rather than using the equality operator (e.g.
x = 'NaN'), because the IEEE standard defines
NaN == NaNto be false, not true as might be expected. Added in version 5.01.1193955406 20071101.