Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Julia is missing 32 bit and 16 bit hex floats unfortunately.


You can just wrap the literal in a conversion function, eg Float32(0x1p52), which should get constant propagated at compile time.


I know, it just isn't as nice to read.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: