syphilis has asked for the wisdom of the Perl Monks concerning the following question:
I expected something like:Rob@desktop ~/pscrpt $ perl -MDevel::Peek -e "Dump(2 ** 43 + 12345);" SV = IV(0x4e9908) at 0x4d0f80 REFCNT = 1 FLAGS = (PADBUSY,PADTMP,IOK,READONLY,pIOK) IV = 8796093034553
which is what I get on linux and native Win32 perls 5.8.8 (and earlier). Actually, linux doesn't set the PADBUSY or PADTMP flags, but I'm not concerned with that.SV = NV(0x8a1fd4) at 0x3f51d4 REFCNT = 1 FLAGS = (PADBUSY,PADTMP,NOK,READONLY,pNOK) NV = 8796093034553
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cygwin perl and (internal) numeric representations.
by parv (Parson) on Nov 26, 2006 at 03:52 UTC | |
by syphilis (Archbishop) on Nov 26, 2006 at 05:02 UTC | |
by parv (Parson) on Nov 26, 2006 at 05:47 UTC | |
by syphilis (Archbishop) on Nov 26, 2006 at 08:16 UTC |