Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
adgjlsfhk1
on Nov 28, 2021
|
parent
|
context
|
favorite
| on:
Floating point visually explained (2017)
Julia is missing 32 bit and 16 bit hex floats unfortunately.
simonbyrne
on Nov 28, 2021
[–]
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
|
parent
[–]
I know, it just isn't as nice to read.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: