monic part 4: arbitrary-precision rational arithmetic - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: Not HP Calculators (/forum-7.html) +--- Forum: Not remotely HP Calculators (/forum-9.html) +--- Thread: monic part 4: arbitrary-precision rational arithmetic (/thread-16026.html) |
monic part 4: arbitrary-precision rational arithmetic - F-73P - 12-27-2020 03:33 AM Previous: monic part 3: towards a handheld Next: monic part 5: writing C programs on the calculator I've added addition, subtraction, multiplication and division of extended-precision rational numbers. I've also added quotient & remainder, GCD, LCM and exponentiation. RE: monic part 4: arbitrary-precision rational arithmetic - F-73P - 01-02-2023 01:43 AM I've added factorial for extended-precision integers. Below shows 10,000! (35,660 digits): The result can be viewed in blocks of 240 digits, read right to left and downwards, with the first page showing the least significant digit ("digit 0") in the top right-hand corner: Performance is not bad, with 10,000! taking about 52 seconds (I used one of the processor's timers) : |