- or download this
#if GMP_HAS_MAGICEXT
&& mg->mg_virtual == &vtbl_gmp
#endif
- or download this
#if GMP_HAS_MAGICEXT
&& mg->mg_virtual != &vtbl_gmp
#endif
- or download this
use warnings;
use Math::BigInt lib => 'GMP';
...
my $x = Math::BigInt->new('-' . ('9876543210123456789' x 4));
access_mpz($x->{value}); # Ignores $x->{sign}
- or download this
GMP_HAS_MAGICEXT: 1
9876543210123456789987654321012345678998765432101234567899876543210123
+456789
- or download this
GMP_HAS_MAGICEXT: 1
failed to fetch mpz pointer at try.pl line 125.