(no title)
profquail | 3 years ago
Hexfloat can be really useful when you need precise/exact floating-point constants for numerical methods. Without them, you end up having to do more-complicated hacks to preserve exact constant values when code gets compiled, or you have to live with compilers (sometimes) subtly altering constants.
I wish more languages supported hexfloats.
unwind|3 years ago
You can also use them as floating-point literals in your code.
[1]: https://linux.die.net/man/3/strtof
formerly_proven|3 years ago
BoppreH|3 years ago