What superior method do you propose?
Comment on I predict that this post will get approximately 01000011100101100000000000000000
ArbitraryValue@sh.itjust.works 1 day agoBut floating-point notation also can’t precisely represent irrational numbers…
SpaceNoodle@lemmy.world 1 day ago
ArbitraryValue@sh.itjust.works 1 day ago
Being a believer in Pythagoreanism and considering irrational numbers blasphemous.
MBM@lemmings.world 21 hours ago
Symbolical computation is cool
SkybreakerEngineer@lemmy.world 1 day ago
But some irrational numbers are only so in base 10
very_well_lost@lemmy.world 1 day ago
What? That’s not true at all…
swab148@lemm.ee 1 day ago
Base π: π=1
Gobbel2000@programming.dev 1 day ago
Writing the same number a different way does not make it rational. There are no two natural numbers p and q so that p/q = 1 base pi.
wewbull@feddit.uk 16 hours ago
1 is always 1. It’s $1 × b^0$ where b is the base.
10 is the base. $1 × b^1 + 0 × b^0$
very_well_lost@lemmy.world 1 day ago
Even in base π, π is still considered an irrational number; using an irrational based doesn’t change the fundamental identity of whole numbers or irrational numbers, it just changes the way we write them.
mexicancartel@lemmy.dbzer0.com 23 hours ago
That doesn’t make it rational but simply makes it writable in 2 digits(10)
Redjard@lemmy.dbzer0.com 1 day ago
π = 10
in base 10, 10 = 10.
muntedcrocodile@lemm.ee 1 day ago
Kinda. Technicaly no since an irrational number is a number that cannot be defined as a ratio of 2 existing rational numbers. Any number that can be represented in any rational base can by definition be represented as a ratio of somthing/base^n.
What u think ur trying to say is that some numbers cannot be represented in one base but can in another for example 1/3 can be represented as a decimal in base 3 but cannot jn base 10 ie u get 0.333(3 repeating forever).
Tieing back to floating point which uses base 2 u end up with simmillar issues with base10 base2 conversions hence most of the errors with floating point errors (yes at very large and very small numbers u lose accuracy but in practice most errors arise from base convention).