https://bugs.kde.org/show_bug.cgi?id=431057

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m...@ratijas.tk
            Summary|Refresh rate values in      |Refresh rate values in
                   |Display Configuration menu  |Display Configuration menu
                   |are always incorrect        |are always incorrect due to
                   |                            |floating-point precision
                   |                            |issues

--- Comment #7 from Nate Graham <n...@kde.org> ---
Based on the attachment, it appears that the issue is that the refresh rates
are stored as floats, like:

> "refreshRate": 120.10496520996094,
> "refreshRate": 120.00162506103516,

That's not gonna work. We are losing precision so anything that tries to
compare one to another will get a result of false.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to