7 ms·
As many as you want depending on how many bits. Floats are made to approximate real numbers. There is an uncountably infinite number of real numbers on any open
by garbagecoder 3y ago
As many as you want depending on how many bits. Floats are made to approximate real numbers. There is an uncountably infinite number of real numbers on any open interval of real numbers. Since (0,1)\in[0,1] there you go. Just keep adding bits.
- Sharlin 3y agoThe question in the title is obviously something explored in the article and to be understood in the context of the article, not to be answered with a glib non-answer by some random HN commenter who evidently didn’t even take a look at the article.
- garbagecoder 3y agoyes, poor headline writing is my fault. and it's not addressed in the article, so I think it's you that didn't read it. It's not even remotely addressed in the article and in fact, the what I posted is an answer to this comment at the end about changing to 64 bits. if he addressed this he would know the answer, and he didn't appear to. So you chose to just decide I was being "glib" and slander me before understanding the context? Have a weekend. I think you unironically need to touch grass. I really hate this website sometimes.