Dear all,
I have had a surprise making with this simple multiplication:
>> format long>> 10e3*820e-12ans = 8.199999999999999e-06
The result must be 8.2e-6!!!
I have the correct result doing before "format short":
>> format short>> 10e3*820e-12ans = 8.2000e-06
The answers based in the binary nature of the machine and rounding, doesn't convince me in this case.
Is this a bug???
Best regards,
Javier
Best Answer