Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
adgjlsfhk1
· 4y ago · 0 comments
Julia is missing 32 bit and 16 bit hex floats unfortunately.
Comments
[–]
simonbyrne
4y ago
You can just wrap the literal in a conversion function, eg Float32(0x1p52), which should get constant propagated at compile time.
[–]
adgjlsfhk1
OP
4y ago
I know, it just isn't as nice to read.