Skip to content

Use three decimal places for refresh rate storage and comparison

Daniel van Vugt requested to merge vanvugt/mutter:refresh-rate-decimals into main

Three decimal places is the highest I can find in industry standard use, like 23.976Hz or 119.880Hz. It's also higher than the usual two decimal places we're used to seeing in user interfaces.

It's necessary to draw the line somewhere reasonable because if we go too far in precision then comparison and storage becomes unreliable past the mantissa/significand limit of floating point formats.

Edited by Daniel van Vugt

Merge request reports