Open yurivict opened 1 year ago
@yurivict This is a 32-bit environment right?
I think the issue is here:
/usr/local/include/audi/gdual.hpp:73:51: note: in instantiation of template type alias 'd_packed_monomial' requested here
template <typename Cf, typename Monomial = obake::d_packed_monomial<std::uint64_t, 8>>
^
/usr/local/include/obake/polynomials/d_packed_monomial.hpp:83:11: note: because 'unsigned long long' does not satisfy 'kpackable'
template <kpackable T, unsigned PSize>
^
I believe that 32-bit environments do not offer 128-bit integers (__int128_t
and __uint128_t
), which are needed in order to use std::uint64_t
in the d_packed_monomial
class. Can you confirm?
I believe that 32-bit environments do not offer 128-bit integers [...]
Yes. So it can't work in 32-bit environments?
If this is the case you should add a check either for a 32-bit environment, or for the presence of __int128_t and __uint128_t, and fail with an appropriate message.
Revision: 1.9.2-1-g899eb78 clang-14 OS: FreeBSD 13.1