Signed-off-by: Francisco Casas fcasas@codeweavers.com
I see! Thanks!
Francisco.
(I resend this email because realized I didn't send the sign-off to wine-devel.)
January 28, 2022 12:36 PM, "Giovanni Mascellani" gmascellani@codeweavers.com wrote:
Hi,
Il 28/01/22 15:53, Francisco Casas ha scritto:
Probably because float doesn't have enough precision to represent 4294967300.
Precisely. Technically the native compiler is a bit more correct than what I wrote, because it's true that the actually representable value is 4294967296, not 4294967300. But they both map to the same float value.
A useful tool to experiment with this stuff is https://evanw.github.io/float-toy.
Giovanni.