Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
masklinn
on Oct 24, 2024
|
parent
|
context
|
favorite
| on:
Pretty.c
It's the distance between 1.0 and the next representable float.
jdthedisciple
on Oct 24, 2024
[–]
I got that but I am curious how to derive that number.
Is it representable as a non-trivial ratio of integers?
hmry
on Oct 24, 2024
|
parent
[–]
Good question! It's 1/(2**23), because 32 bit floats have 23 bits after the decimal point
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: