3 ms·
Julia is missing 32 bit and 16 bit hex floats unfortunately.
by adgjlsfhk1 5y ago
Julia is missing 32 bit and 16 bit hex floats unfortunately.
- simonbyrne 5y agoYou can just wrap the literal in a conversion function, eg Float32(0x1p52), which should get constant propagated at compile time.
- adgjlsfhk1 5y agoI know, it just isn't as nice to read.