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

Re: Views on changing Math-BigInt OO design

Thread Previous | Thread Next
From:
Abigail
Date:
July 28, 2015 11:56
Subject:
Re: Views on changing Math-BigInt OO design
Message ID:
20150728115630.GA8093@almanda.fritz.box
On Tue, Jul 28, 2015 at 01:19:37PM +0200, Peter John Acklam wrote:
> James, that is correct. The user interface would not change at all. I
> should have mentioned that in the original posting.
> 

Code like the snippet below may start to fail, unless using loading
Math::BigNum loades the other Math::Big* packages.


    use Math::BigFloat;  # Currently loads Math::BigInt

    my $float   = Math::BigFloat:: -> new (...);
    my $integer = Math::BigInt::   -> new (...);




Abigail

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