You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/include/boost/numeric/interval/detail/ppc_rounding_control.hpp:31:56: error: narrowing conversion of '18444492273895866370' from 'long long unsigned int' to 'boost::long_long_type' {aka 'long long int'} [-Wnarrowing]
31 | static const rounding_mode_struct mode_upward = { 0xFFF8000000000002LL };
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/numeric/interval/detail/ppc_rounding_control.hpp:32:56: error: narrowing conversion of '18444492273895866371' from 'long long unsigned int' to 'boost::long_long_type' {aka 'long long int'} [-Wnarrowing]
32 | static const rounding_mode_struct mode_downward = { 0xFFF8000000000003LL };
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/numeric/interval/detail/ppc_rounding_control.hpp:33:56: error: narrowing conversion of '18444492273895866368' from 'long long unsigned int' to 'boost::long_long_type' {aka 'long long int'} [-Wnarrowing]
33 | static const rounding_mode_struct mode_to_nearest = { 0xFFF8000000000000LL };
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/numeric/interval/detail/ppc_rounding_control.hpp:34:56: error: narrowing conversion of '18444492273895866369' from 'long long unsigned int' to 'boost::long_long_type' {aka 'long long int'} [-Wnarrowing]
34 | static const rounding_mode_struct mode_toward_zero = { 0xFFF8000000000001LL };
| ^~~~~~~~~~~~~~~~~~~~
These constants are too large for long long so they have type unsigned long long (despite the LL suffix). Converting them to long long inside a braced-init-list is a narrowing conversion.
The text was updated successfully, but these errors were encountered:
jwakely
added a commit
to jwakely/interval
that referenced
this issue
Jan 31, 2022
These constants are too large for
long long
so they have typeunsigned long long
(despite the LL suffix). Converting them tolong long
inside a braced-init-list is a narrowing conversion.The text was updated successfully, but these errors were encountered: