I l @ ve RuBoard |
Numerical operators return a new value from the supplied elements. Listing! Factorial !! Factorial (left operator) % Mod or truncate * Multiplication + Addition - Subtraction / Division : Exponentiation @ Absolute value ^ Exponentiation Square root / Cube root & Binary AND Binary OR # Binary XOR ~ Binary NOT << Binary shift left >> Binary shift right Notes/ExamplesHere are some examples of numerical operators in action:
The binary operators also function on BIT and BITVARYING d ata types. For instance:
|
I l @ ve RuBoard |