current position:Home>Why do floating point numbers lose accuracy? How to understand

Why do floating point numbers lose accuracy? How to understand

2022-02-02 21:54:26 CSDN Q & A

Why do floating point numbers lose accuracy ? How do you understand that
Why do floating point numbers lose accuracy ? How do you understand that




Refer to the answer 1:

You'll know why by converting a decimal to binary




Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202022154245696.html

Random recommended