News for hackers. Stuff that matters.
Re:What I didn’t know about Ruby Numbers by Technically on Thursday November 19, 2020 @01:07PM (#25152330)
If ruby's float's are exact, how do they translate arbitrary literals to IEEE 754? Surely the vast majority of literals are not representable with IEEE 754, so any exactness of these floats would solely exist in comparison between floats, not with literals.
Re:What I didn’t know about Ruby Numbers by wwright on Thursday November 19, 2020 @06:13PM (#25155505)
I made no claims about literals, though perhaps I should have been explicit.

I expect that many use cases for floats do not involve any literals at all, of course.