Skip Menu |
 

This queue is for tickets about the Math-BigInt CPAN distribution.

Report information
The Basics
Id: 119337
Status: resolved
Priority: 0/
Queue: Math-BigInt

People
Owner: Nobody in particular
Requestors: felipe [...] felipegasper.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: _from_bytes() in Math::BigInt::GMP
Date: Wed, 21 Dec 2016 08:15:34 -0500
To: bug-math-bigint-fastcalc [...] rt.cpan.org, bug-math-bigint [...] rt.cpan.org
From: Felipe Gasper <felipe [...] felipegasper.com>
Download (untitled) / with headers
text/plain 258b
I’m not sure whether this failure is proper to ::GMP for missing the method, or to M::BI for failing to check that it’s supported, but: http://www.cpantesters.org/cpan/report/4d6c6a9e-c747-11e6-a2f1-817f9d9b1d4e Thank you for your time! -Felipe Gasper
Download (untitled) / with headers
text/plain 305b
The from_bytes() and as_bytes() methods require Math::BigInt::GMP v1.6000 or newer. I'm note sure what is the best way to handle this. The simplest is probably to have a note displayed by Makefile.PL. Another option is to make Math::BigInt die if the backend library does not support a particular method.
Download (untitled) / with headers
text/plain 232b
- Makefile.PL now displays a message if the backend libraries installed are too old to support the new methods. - The new methods requiring new version of the backend libraries croak() if the required library method can't be found.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.