diff options
| author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-05 14:32:05 +0100 |
|---|---|---|
| committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-11 20:47:21 +0100 |
| commit | ace9764c995be9eb7cb42296a2885c72fb1005f3 (patch) | |
| tree | c68bbd6fa901a606ef2e7d2e1c493554bf2ca7ce /src/concurrent/qtconcurrentrun.cpp | |
| parent | 4082fe8a396710db30b3e2a748636f21195b0e5c (diff) | |
Fix tst_qmath when compiled with C++20
On several platforms std::bit_ceil() returns 1 for input values that
would overflow the output. Our test expects 0 though. Since the value
is documented as undefined, avoid it.
Pick-to: 6.3 6.2
Change-Id: I00556893a8f0e1e24f08f73cd112b56148bc5bd0
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/concurrent/qtconcurrentrun.cpp')
0 files changed, 0 insertions, 0 deletions
