Timeline for Do golfing languages support rational number arithmetic?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 3, 2020 at 7:17 | vote | accept | Dannyu NDos | ||
Jun 3, 2020 at 7:17 | vote | accept | Dannyu NDos | ||
Jun 3, 2020 at 7:17 | |||||
Feb 13, 2020 at 10:58 | answer | added | Adám | timeline score: 1 | |
Feb 13, 2020 at 6:29 | comment | added | Dannyu NDos | @xnor Aha! So it is possible with just integer types. Thanks. I will post it in few hours if there is no objections. | |
Feb 13, 2020 at 6:26 | comment | added | xnor |
No, I mean the solver can work with just integers by finding p,q so that a^q = b^p , and outputting p/q . Actually, even the ratio of their respective counts of prime factors in their factorizations should suffice.
|
|
Feb 13, 2020 at 6:25 | comment | added | Dannyu NDos | @xnor Do you mean you want \$\log_a{b} \in \mathbb{Z}\$? | |
Feb 13, 2020 at 6:24 | comment | added | xnor | Can't this be done using just integer types? | |
Feb 13, 2020 at 5:54 | history | asked | Dannyu NDos | CC BY-SA 4.0 |