Of course, we could define an oct float literal as well, but other than file permissions, are octal bases used for anything?
OK, thanks for explaining.I suspected hexadecimal floating point is more for exact machine representation than for human consumption.
As Simon says, 0X is part of the standard notation, even if Julia does not support it.
Also, as is mentioned in the Julia issue raised by Simon, printf in C with %a does not yield full precision by default.
julia> @printf "%a" 1.0
0x1p+0
julia> @printf "%a" 1.1
0x1.199999999999ap+0
Python supports these floats, but make the exponent optional, contrary to the standard, and allows for uppercase 0X, even if not mentioning it:[sign] ['0x'] integer ['.' fraction] ['p' exponent]