develooper Front page | perl.perl5.porters | Postings from July 2015

Re: Views on changing Math-BigInt OO design

Thread Previous | Thread Next
From:
John Peacock
Date:
July 29, 2015 02:05
Subject:
Re: Views on changing Math-BigInt OO design
Message ID:
55B834F2.8060001@havurah-software.org
On 07/28/2015 09:28 AM, Peter John Acklam wrote:
> Abigail, thanks for pointing out the implicit loading. I hadn't though
> of that, although hopefully I would have discovered it while testing.
>
> Here is my current idea
>
> - introduce Math::BigNum
> - let Math::Big(Int|Float|Rat) each be a subclass of Math::BigNum
> - for backwards compatibility, let Math::BigFloat load Math::BigInt, and
> let Math::BigRat load Math::BigFloat

Have you audited CPAN to see what modules are already subclassing M::BF, 
like my own Math::Currency?  I would be interested in getting a 
pre-release package, which may finally induce me to fix the locale tests 
that have been failing for a very long time.

John

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About