Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
simonbyrne
on Nov 28, 2021
|
parent
|
context
|
favorite
| on:
Floating point visually explained (2017)
You can just wrap the literal in a conversion function, eg Float32(0x1p52), which should get constant propagated at compile time.
adgjlsfhk1
on Nov 28, 2021
[–]
I know, it just isn't as nice to read.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: