Page 2 of 2

Re: Weird float problem

PostPosted: Mon Aug 09, 2021 11:09 pm
by deraudrl
If what I said in the last post didn't make sense, go here:
https://www.h-schmidt.net/FloatConverter/IEEE754.html
and type in the values you were mentioning (0.99999994, 0.99999996, and 0.99999998):
the first two give the same bit pattern in FP32, the third gives the same bit pattern as 1.0.