``

prev Menu next

Supplied Functions (Original Enhancement) ☆

FACT(x) | The factorial of x
PERM(n,r) | The number of permutations
COMB(n,r) | The number of combinations ( the binary coefficient)
ROUND(x) | The value of x rounded to an integer. ROUND(x) coincides with ROUND(x,0) on The DECIMAL or the 1000-digit or the RATIONAL operation mode. ROUND(x) is the value of x rounded half even on the BINARY or the COMPLEX operation mode.
BITNOT(n) | The value inverted each bit when n is consided as a binary. |
BITAND(a,b) | Bitwise-AND of a and b when they are consided as binaries. |
BITOR(a,b) | Bitwise-OR of a and b when they are consided as binaries. |
BITXOR(a,b) | Bitwise-XOR of a and b when they are consided as binaries. |

BITAND, BITOR, BITXOR and BITNOT have precision of 53 bits.
Note that numeric variables on Decimal mode cannot represent 50 bit binary numbers.
These functions raise exceptions of EXTYPE 3000 when the argument is out of the range of 64-bit signed integers.