You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A float consists of an integer part (which follows the same rules as integer values) followed by a fractional part and/or an exponent part.
This seems to imply that something like 0x56.78 is a valid float, equal to 86.78. This is unusual enough that it should be explicitly documented if this is intended (and if it isn't, then the documentation should be updated to not seem to say that).
(FWIW, in my opinion this should be explicitly disallowed, because inventing a new mixed-radix format that conflicts with the standard hex-float format seems bad.)
The text was updated successfully, but these errors were encountered:
From the doc:
This seems to imply that something like
0x56.78
is a valid float, equal to86.78
. This is unusual enough that it should be explicitly documented if this is intended (and if it isn't, then the documentation should be updated to not seem to say that).(FWIW, in my opinion this should be explicitly disallowed, because inventing a new mixed-radix format that conflicts with the standard hex-float format seems bad.)
The text was updated successfully, but these errors were encountered: