Press space to do operation Input numbers and the result are converted to a 32-bit integer. 0. self — returns the number typed 1. add — adds the numbers 2. subtract — subtracts the numbers 3. multiply — multiplies the numbers 4. divide — divides the numbers 5. and — uses the bitwise operation "and" on the numbers 6. or — uses the bitwise operation "or" on the numbers 7. xor — uses the bitwise operation "xor" on the numbers 8. sqrt — square roots the number 9. inverse — inverts all bits of the number 10. random — generates a random integer 11. mod — uses the "mod" operation on the numbers 12. sine — uses sine operation; range is 0 to 4294967295 and output is fully scaled to the same range 13. log₂ — generates the binary logarithm of the number 14. power — uses the powering operation on the numbers 15. factorial — uses factorial operation on the number
The random number generator is n=(n×69069+1) mod 2⁴⁸, and the upper 32 bits are used as the result. It's seeded with ((days since 2000)×2⁴⁰) mod 2⁴⁸. To scale a random number x to range 0 to n-1, use x mod n. Using x⁴²⁹⁴⁹⁶⁷²⁹⁵ on odd x numbers will generate the multiplicative inverse — if you multiply it with x, you get 1. Due to the nature of binary overflow, factorials of 34 and up become 0.