2 ms·
The GoLang bit tells me that the author is trying to show wrong answers only. And that is ok because this needs to be said out loud. I wonder if there is a way
by nashashmi 3y ago
The GoLang bit tells me that the author is trying to show wrong answers only. And that is ok because this needs to be said out loud.
I wonder if there is a way to fool Wolfram in giving the wrong answer. Or ChatGPT?
- mspreij 3y agoChatGPT 4 pondered for a while, then started "Analyzing..", and eventually "Finished analyzing" (all following verbatim output): python 9999999999999999.0 - 9999999999999998.0 Result 2.0 The result of the calculation 9999999999999999.0−9999999999999998.0 is 2.0. This result may seem counterintuitive, but it's due to how floating-point numbers are represented and handled in computing. Floating-point arithmetic can introduce small rounding errors, especially with very large numbers, as precision is limited. In this case, the precision required to represent these large numbers exactly is beyond what typical floating-point representations (like IEEE 754 double precision) can handle, leading to a slight error in the calculation.
- nashashmi 3y ago> result may seem counterintuitive does it say this out loud?