News for hackers. Stuff that matters.
Re:Anna Karenina Principle by falcor84 on Saturday August 31, 2019 @04:02AM (#20845158)
Well, an interesting fact is that every nonzero rational number has two equal representations in some bases, e.g. 0.999...=1. Zero is then is the only rational number with just one representation.

https://en.wikipedia.org/wiki/0.999...

Re:Anna Karenina Principle by cgriswald on Saturday August 31, 2019 @09:15AM (#20846092)
You can represent 0 a countably infinite number of ways: 0 0.0 0.00 0.000 0.0000 ...
Re:Anna Karenina Principle by falcor84 on Saturday August 31, 2019 @03:07PM (#20848209)
Well, the convention in maths is that we never add trailing zeros, since they wouldn't as any information. Unlike in other sciences, where they represent measurement precision.
Re:Anna Karenina Principle by cgriswald on Saturday August 31, 2019 @06:05PM (#20849078)
The same is true of .999... and 1. In any case, it’s an artifact of how we represent numbers, not an property of the numbers themselves.
Re:Anna Karenina Principle by dorgo on Saturday August 31, 2019 @06:30AM (#20845546)
ähmm, no? Counterexample: 1/3

>every nonzero TERMINATING decimal has two equal representations

Re:Anna Karenina Principle by falcor84 on Saturday August 31, 2019 @07:11AM (#20845638)
I mentioned "in some bases". In base 3, it's 0.1 and 0.0222...