Skip Menu |
 

This queue is for tickets about the bignum CPAN distribution.

Report information
The Basics
Id: 62063
Status: open
Priority: 0/
Queue: bignum

People
Owner: Nobody in particular
Requestors: jeova.sanctus.unus [...] gmail.com
Cc:
AdminCc:

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



Subject: [integer] - [rational] expression problem
Download (untitled) / with headers
text/plain 472b
hi,i think i might find a integer minus rational problem. when i execute this perl -Mbigrat -e 'print 1 - 1/2' perl doesn't give the answer,but use more and more memory,and a lot of cpu time but 1 +- 1/2 or 1/1 -1/2 can work perl version 5.12.2 bigrat version 0.25 uname -a Linux gentoo 2.6.35-gentoo-r10-smp #1 SMP Thu Oct 7 16:59:48 CST 2010 i686 Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz GenuineIntel GNU/Linux the detail of version is in the attached file. thanks
Subject: uname
Download uname
application/octet-stream 141b

Message body not shown because it is not plain text.

Subject: perl_version
Download perl_version
application/octet-stream 3.7k

Message body not shown because it is not plain text.

Subject: bigrat_version
Download bigrat_version
application/octet-stream 117b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 163b
I have verified that this occurs on my system: perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi $ modversion Math::BigInt 1.89 $ modversion bigrat 0.23
Download (untitled) / with headers
text/plain 165b
It gives a NaN (which isn't correct either) on Cygwin with bigrat v0.23: $ perl -Mbigrat -wle 'print 1 - 1/2' NaN $ perl -Mbigrat -wle 'print bigrat->VERSION' 0.23


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.