+ 2

# Is there a way to store floats perfectly in a computer ?

I got this idea from the python course. we cant divide 1 by 3 perfectly. In this way we also cant store floats perfectly in a computer. Is there a way to fix it?

2 Answers

+ 5

Is your question "can we store an infinite amount of digits in a finite space"?

+ 1

No i meant that if we could store infinite digits, can the computer store those perfectly? But you have a point