Subject: | [integer] - [rational] expression problem |
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 |
Message body not shown because it is not plain text.
Subject: | perl_version |
Message body not shown because it is not plain text.
Subject: | bigrat_version |
Message body not shown because it is not plain text.