... not just int, and not just non-negative values. Reveals a problem with bytes == numeric_limit<qint64>::min(), says ubsan (example; all min64 fail): global/qnumeric.h:479:26: runtime error: negation of -9223372036854775808 cannot be represented in type 'long long int'; cast to an unsigned type to negate this value to itself text/qlocale.cpp:5062:82: runtime error: signed integer overflow: -2147483648 * 3 cannot be represented in type 'int' text/qlocale.cpp:5062:26: runtime error: division by zero FAIL! : tst_QLocale::formattedDataSize(English-Decimal-min) Compared values are not the same Actual (QLocale(language).formattedDataSize(bytes, decimalPlaces, units)): "-inf bytes" Expected ("output") : "-9.22 EB" So exclude that from testing, for now. Pick-to: 6.9 6.8 6.5 6.2 5.15 Coverity-Id: 474294 Change-Id: Ia1f8e87c58a9fdc2668b6745956e913384cff4c7 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%