Comment Comment by withinboredom This is incorrect. Very incorrect and disastrously so. Drop 0.3 in here: https://www.h-schmidt.net/FloatConverter/IEEE754.htmlYou can also drop 524535643, an integer clearly less than 2^53 and is off by 5.This is even seen here: #include <stdio.h> int main() { float b = 524535643.0f; printf("%f", b); return 0; } output: 524535648.000000 parent withinboredom 2 years ago
You can also drop 524535643, an integer clearly less than 2^53 and is off by 5.
This is even seen here:
output: 524535648.000000