- #1
matematikawan
- 338
- 0
This really surprised me.
>> format rat
>> 1/3-1/2+1/6
ans =
-1/36028797018963968
Even school student knows that the answer is 0.
Even format short does not give a correct answer.
>> format short
>> 1/3-1/2+1/6
ans =
-2.7756e-017
>> format rat
>> 1/3-1/2+1/6
ans =
-1/36028797018963968
Even school student knows that the answer is 0.
Even format short does not give a correct answer.
>> format short
>> 1/3-1/2+1/6
ans =
-2.7756e-017