-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
format-test failing on ppc64el #3365
Comments
Please, build and run next code: #include <iostream>
#include <limits>
#include <typeinfo>
int main()
{
auto v = 3.31l;
using T = decltype(v);
std::cout << typeid(T).name() << std::endl;
std::cout << std::numeric_limits<T>::is_iec559 << std::endl;
std::cout << "size:" << sizeof(T) << std::endl;
std::cout << std::endl;
std::cout << std::numeric_limits<T>::is_specialized << std::endl;
std::cout << std::numeric_limits<T>::is_signed << std::endl;
std::cout << std::numeric_limits<T>::is_integer << std::endl;
std::cout << std::numeric_limits<T>::is_exact << std::endl;
std::cout << std::numeric_limits<T>::has_infinity << std::endl;
std::cout << std::numeric_limits<T>::has_quiet_NaN << std::endl;
std::cout << std::numeric_limits<T>::has_signaling_NaN << std::endl;
std::cout << std::numeric_limits<T>::has_denorm << std::endl;
std::cout << std::numeric_limits<T>::has_denorm_loss << std::endl;
std::cout << std::numeric_limits<T>::round_style << std::endl;
std::cout << std::numeric_limits<T>::is_iec559 << std::endl;
std::cout << std::numeric_limits<T>::is_bounded << std::endl;
std::cout << std::numeric_limits<T>::is_modulo << std::endl;
std::cout << std::numeric_limits<T>::digits << std::endl;
std::cout << std::numeric_limits<T>::digits10 << std::endl;
std::cout << std::numeric_limits<T>::max_digits10 << std::endl;
std::cout << std::numeric_limits<T>::radix << std::endl;
std::cout << std::numeric_limits<T>::min_exponent << std::endl;
std::cout << std::numeric_limits<T>::min_exponent10 << std::endl;
std::cout << std::numeric_limits<T>::max_exponent << std::endl;
std::cout << std::numeric_limits<T>::max_exponent10 << std::endl;
std::cout << std::numeric_limits<T>::traps << std::endl;
std::cout << std::numeric_limits<T>::tinyness_before << std::endl;
return 0;
} and command:
|
This is the output of your code above
and this is de output of the command
|
@trldp
and run tests. An error due to limited support for the double-double format in fmtlib. I'll make a workaround for tests. |
Please test this branch: https://github.com/phprus/fmt/tree/hexfloat-ppc64el |
With the flag
The branch above does works like a charm (without |
I think this is a different bug not related with this issue.
I created PR #3366. |
When running unit tests on Ubuntu compiled with gcc on the architecture ppc64el, the test format-test fails with the following error:
The error was detected on Ubuntu 22.04, but seems to occur on all other currently supported versions. Full logs can be found at https://launchpadlibrarian.net/657130777/buildlog_ubuntu-focal-ppc64el.fmtlib_9.1.0-1~git202303230019+5~ubuntu20.04.1_BUILDING.txt.gz.
The text was updated successfully, but these errors were encountered: