Common numeric functions take any numeric type as arguments and return the same numeric type.
abs(Numeric) Return the absolute value of the signed argument. Integer results are unsigned and are unchanged for an integer argument with the maximum negative value. ln(Numeric) Return the natural log of the argument. Integer arguments are unsigned. Fault: Single or Double <= 0 or Integer = 0 log(Numeric) Return the log base 10 of the argument. Integer arguments are unsigned. Fault: Single or Double <= 0 or Integer = 0 log2(Numeric) Return the log base 2 of the argument. Integer arguments are unsigned. Fault: Single or Double <= 0 or Integer = 0 max(Numeric, Numeric) Return the larger of the two signed arguments. min(Numeric, Numeric) Return the smaller of the two signed arguments. mod(Numeric, Numeric) Return the signed modulus of the two signed arguments. Fault: The second argument is 0. remainder(Numeric, Numeric) Return the remainder as: Numeric -(Numeric2 * N) where: N = integer(Numeric / Numeric2) and integer truncates to an integer value. Reals return the truncated remainder. Fault: The second argument is 0. root(Numeric) Returns the square root of the argument. Integer arguments are unsigned. Fault: Single or Double < 0