엑셀에 관한 문서이긴하지만 다른데서도 크게 다르지 않으리라 본다.
읽어보고 유추해라.

https://support.microsoft.com/ko-kr/help/78113/floating-point-arithmetic-may-give-inaccurate-results-in-excel