3 ms·
It's not clear from that page nor the GitHub repo whether they are using decimal floating point underneath? It's one of the nicer things when using a calculator
by mabster 2y ago
It's not clear from that page nor the GitHub repo whether they are using decimal floating point underneath? It's one of the nicer things when using a calculator over something like Python.
- c3d 2y agoThere are three floating-point representations: - A variable-precision decimal floating point that uses base-1000 internally with 10 bits for 1000 values instead of 1024, so reduced memory waste, and LEB128 for size and exponent encoding. So 1.23 is 5 bytes, and each decimal value has its own precision. The precision only affects computations, not stored objects, so you can adjust the precision for each step of a computation. - IEEE754 hardware accelerated 32-bit and 64-bit binary floating point. In line with RPL, there are many other object types, including arbitrary-precision integers (123 is 2 bytes, 100! is 68 bytes), symbolic expressions, programs, lists, and so on.