|
|
|
|
|
by v8xi
893 days ago
|
|
Was curious what chatGPT would say: The result of subtracting 9999999999999998.0 from 9999999999999999.0 is 2.0. This result is due to the limitations in the precision of floating-point arithmetic in computers. When dealing with very large numbers, the precision can be lost, leading to such unexpected results. I suppose this must be in its training set. |
|
when I ask about this question it generates and runs Python behind the scenes, thus the incorrect answer.