diff options
| author | Manuel Stoeckl <code@mstoeckl.com> | 2021-01-17 18:02:50 -0500 |
|---|---|---|
| committer | Daniel Stone <daniels@collabora.com> | 2021-07-31 16:49:54 +0000 |
| commit | 2f05ceeb4de665c306d01a295b7f30659f8cae96 (patch) | |
| tree | b987e5273df7d100ac9d9c275570e6999c663cfd /tests/cpp-compile-test.cpp | |
| parent | os-wrappers-test: Make syscall intercepts work with sanitizers (diff) | |
| download | wayland-2f05ceeb4de665c306d01a295b7f30659f8cae96.tar wayland-2f05ceeb4de665c306d01a295b7f30659f8cae96.tar.gz wayland-2f05ceeb4de665c306d01a295b7f30659f8cae96.tar.bz2 wayland-2f05ceeb4de665c306d01a295b7f30659f8cae96.tar.lz wayland-2f05ceeb4de665c306d01a295b7f30659f8cae96.tar.xz wayland-2f05ceeb4de665c306d01a295b7f30659f8cae96.tar.zst wayland-2f05ceeb4de665c306d01a295b7f30659f8cae96.zip | |
connection, client: Avoid locale-dependent float printing
Specifically, in the log formed when WAYLAND_DEBUG is set, this commit
ensures that floating point numbers are formatted using '.' instead of
the locale-specific decimal separator. As the debug logs are not
otherwise localized for end-users, and may be parsed by scripts, it is
better to have consistent output here.
The 24.8 fixed point numbers are now represented with 8 digits after
the decimal, since this is both exact and simpler to compute.
Signed-off-by: Manuel Stoeckl <code@mstoeckl.com>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions
