-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support hex floating point format in fmt.parseFloat and fmt.print #2047
Comments
Ahh, the compiler cheats by using |
No progress on my end, and I am not aware of anyone working this. I think it'll be fine for you to work on this. |
@tiehuis |
@corona10 did you get anywhere with this? |
@daurnimator Currently not, I will ping you if I am not able to work on this issue. Thanks! |
@daurnimator If you have any progress with this issue, please handle this issue. For me, this issue might need times. |
Both fmt.format and fmt.parseFloat already support hex floats. @daurnimator This issue can be closed I guess. |
We should support hexadecimal floating point values in
fmt.format
andfmt.parseFloat
.For example, the following should hold true.
For print as a hexidecimal, a
"{x}"
format specifier seems most appropriate. Related to #1358 but can be done independently.The text was updated successfully, but these errors were encountered: