4 ms·
The page is asking which language answers the math question correctly, not which one implements a particular standard correctly. Perl6 also has a correct implem
by burkaman 3y ago
The page is asking which language answers the math question correctly, not which one implements a particular standard correctly. Perl6 also has a correct implementation, it's just using a different standard than the other languages.
- Retr0id 3y ago"math" is just yet another (implicit and at times poorly defined) standard. The answers are all equally "correct" given a particular set of operating rules, the interesting part is what rules they picked. Edit: See also, https://en.wikipedia.org/wiki/Definitions_of_mathematics https://en.wikipedia.org/wiki/Definitions_of_mathematics - "Mathematics has no generally accepted definition"
- burkaman 3y agoI agree that what we call "math" is just a set of rules that could be defined differently, but a standard like IEEE-754 is downstream of math, and is explicitly defined as a method to perform arithmetic (which is part of math). So they aren't on the same level, IEEE-754 is not an alternative standard to math. The answers can all be considered correct by a certain definition, but they are not equally correct in our shared context as human beings who know what math is.
- Retr0id 3y agoMath is not a singular set of rules, it depends on who you ask, and what the context is. We have a pretty decent shared understanding, but it's not perfectly uniform. 59 + 1 can very reasonably be 1:00, for example. I'm not saying 2.0 is the correct answer, I'm just saying it's not any less correct than 1 is.