Overview Module Function Class Tea 3.2.2 Reference Documentation
© 2007 PDM&FC

Module tea.math

Functions for numeric processing.

Function Summary
!= Compares two numeric values for non-equality.
% Calculates the remainder of an integer division.
& Calculates the binary and operation on a set of integer values.
&= Modifies the value stored in a variable by performing a binary and operation with it.
* Calculates the product of a set of values.
*= Modifies the value stored in a variable by multiplying it by a given value.
+ Calculates the sum of its arguments.
++ Modifies the contents of a variable containing a numeric object by adding one to its previous value.
+= Modifies the value stored in a variable by adding it a value.
- Calculates the difference between two values.
-- Modifies the contents of a variable containing a numeric object by subtracting one from its previous value.
-= Modifies the value stored in a variable by subtracting a given value from it.
/ Calculates the quocient of two values.
/= Modifies the value stored in a variable by divinding it by a given value.
< Compares two numeric values.
<< Calculates the binary shift left operation on an integer value.
<<= Modifies the value stored in a variable by performing a binary shift left operation with it.
<= Compares two numeric values.
= Sets the contents of a variable to a numeric value.
== Compares two numeric values for equality.
> Compares two numeric values.
>= Compares two numeric values.
>> Calculates the binary shift right operation on an integer value.
>>= Modifies the value stored in a variable by performing a binary shift right operation with it.
^ Calculates the binary xor operation on a set of integer values.
^= Modifies the value stored in a variable by performing a binary XOR operation with it.
abs Calculates the absolute value of its argument.
and Calculates the logical conjunction of a set of boolean values.
ceil Calculates the smallest integer larger than or equal to a given value.
floor Calculates the largest integer not larger than a value.
int Creates a new integer mutable numeric object.
not Calculates the logical complement of a boolean value.
or Calculates the logical disjunction of a set of boolean values.
rand-int Generates an integer random value.
round Calculates the nearest integer to a numeric value.
sqrt Calculates the square root of a given value.
| Calculates the binary or operation on a set of integer values.
|= Modifies the value stored in a variable by performing a binary OR operation with it.
~ Calculates the binary negation of an integer value.

Overview Module Function Class Tea 3.2.2 Reference Documentation
© 2007 PDM&FC
Report a bug or request new features
© 2007