I guess I expected 95.77-95.68 to be exactly 0.09, just as I expected 3*(1/3) to be 0.9999999999, but I was wrong on both! More importantly, how can I get it be rounded off to 0.09? I could use round() or mod(diff*100)/100
MATLAB: Isn’t 95.77-95.68 = exactly 0.09
double precisionfaqieee754
Best Answer