# Performing arithmetic operations

The * / + - operators multiply, divide, add, and subtract. Multiplication and division have precedence over addition and subtraction; otherwise, evaluation is left to right. Parentheses can be used to change the order of evaluation. The following are the arithmetic @functions.

Function |
Description |
---|---|

@Abs( |
Calculates the absolute (unsigned) value of a number. |

@ACos( |
Calculates the arc (inverse) cosine of a cosine. |

@ASin( |
Calculates the arc (inverse) sine of a sine. |

@ATan( |
Calculates the arc (inverse) tangent of a tangent. |

@ATan2( |
Calculates the arc (inverse) tangent using the tangent y/x of an angle. |

@Cos( |
Calculates the cosine of an angle (in radians). |

@Exp( |
Calculates |

@FloatEq( |
Compares two numbers for equality within a confidence range. |

@Integer( |
Truncates a number to an integer. |

@Integer( |
Truncates the elements of a number list to integers. |

@Log( |
Calculates the common (base 10) logarithm of a number. |

@Ln( |
Calculates the natural (base |

@Max( |
Calculates the larger of two numbers. |

@Max( |
In a pairwise list operation, calculates the larger of two numbers. |

@Max( |
Calculates the largest number in a list. |

@Min( |
Calculates the smaller of two numbers. |

@Min( |
In a pairwise list operation, calculates the smaller of two numbers. |

@Min( |
Calculates the smallest number in a list. |

@Modulo( |
Calculates the remainder of a number divided by a second number. |

@Modulo( |
In a pairwise list operation, calculates the remainder of a number divided by a second number. |

@Pi |
Calculates the value of Pi. |

@Power( |
Calculates the value of a base raised to the power of an exponent. |

@Random |
Returns a random number in the range 0 to 1, inclusive. |

@Round( |
Rounds a number to the nearest integer. |

@Round( |
Rounds a number to the nearest specified factor. |

@Round( |
Rounds each number in a list to the nearest integer. |

@Round( |
Rounds each number in a list to the nearest specified factor. |

@Sign ( |
Returns 1 for a positive number, -1 for a negative number, and 0 for zero. |

@Sin( |
Calculates the sine of an angle (in radians). |

@Sqrt ( |
Calculates the square root of a number. |

@Sum( |
Calculates the sum of numbers and number lists. |

@Tan( |
Calculates the tangent of an angle (in radians). |