Suspended: bignum incompatible with looks_like_number() ???
- From: C B <cb0@xxxxxxx>
- Date: Sat, 30 Jun 2007 22:21:01 +0700
Quick summary for those whose patience is exhausted:
perl -le 'print 2**512+0.01'
1.34078079299426e+154
perl -Mbignum -le 'print 2**512+0.01'
1340780792994259709957402499820584612747936582059239337772356144372176403
0073546976801874298166903427690031858186486050853753882811946569946433649
006084096.01
Warning: only read the following if you can tolerate the sort of
meandering argument that's been a feature of this thread this far...
I maintain that the function looks_like_number() should return 1 when
use bignum; is in effect. No other interpretations of the documentation
are credible.
There are others in this thread who apparently disagree (although their
actual opinion is difficult to discern).
It is certain that under some versions/configs looks_like_number()
returns 1 when passed a bignum.
In other cases it fails. I am trying to figure out exactly when and
why, and will post back to this thread when I know.
Until then, over and out.
CB
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
.
- References:
- bignum incompatible with looks_like_number() ???
- From: C B
- Re: bignum incompatible with looks_like_number() ???
- From: Sisyphus
- Re: bignum incompatible with looks_like_number() ???
- From: C B
- Re: bignum incompatible with looks_like_number() ???
- From: Sisyphus
- Re: bignum incompatible with looks_like_number() ???
- From: C B
- Re: bignum incompatible with looks_like_number() ???
- From: Sisyphus
- Re: bignum incompatible with looks_like_number() ???
- From: C B
- Re: bignum incompatible with looks_like_number() ???
- From: Sisyphus
- Re: bignum incompatible with looks_like_number() ???
- From: C B
- Re: bignum incompatible with looks_like_number() ???
- From: Sisyphus
- bignum incompatible with looks_like_number() ???
- Prev by Date: Re: bignum incompatible with looks_like_number() ???
- Next by Date: Re: Installing Newt
- Previous by thread: Re: bignum incompatible with looks_like_number() ???
- Next by thread: Looking for a base module that can automatically load sub modules
- Index(es):