bigint/bigrat export NaN and inf
D:\>perl -MDevel::Peek -Mbigint -e"Dump(NaN())" SV = PV(0x225ec4) at 0x18a5984 REFCNT = 1 FLAGS = (TEMP,ROK,OVERLOAD) RV = 0x224f58 SV = PVHV(0x2299c4) at 0x224f58 REFCNT = 1 FLAGS = (OBJECT,SHAREKEYS) IV = 2 NV = 0 STASH = 0x185c2e4 "Math::BigInt" ARRAY = 0x1824734 (0:6, 1:2) hash quality = 125.0% KEYS = 2 FILL = 2 MAX = 7 RITER = -1 EITER = 0x0 Elt "value" HASH = 0x1e720953 SV = RV(0x183b380) at 0x19a5b88 REFCNT = 1 FLAGS = (ROK) RV = 0x197f954 SV = PVAV(0x199f354) at 0x197f954 REFCNT = 1 FLAGS = () IV = 0 NV = 0 ARRAY = 0x1830244 FILL = 0 MAX = 0 ARYLEN = 0x0 FLAGS = (REAL) Elt No. 0 SV = IV(0x182d3e8) at 0x19a5b64 REFCNT = 1 FLAGS = (IOK,pIOK) IV = 0 Elt "sign" HASH = 0xe7455c8f SV = PV(0x225ea0) at 0x19a5b58 REFCNT = 1 FLAGS = (POK,pPOK) PV = 0x182281c "NaN"\0 CUR = 3 LEN = 4 PV = 0x224f58 "" CUR = 0 LEN = 0 D:\>perl -MDevel::Peek -Mbigrat -e"Dump(NaN())" SV = PV(0x225ec4) at 0x188c97c REFCNT = 1 FLAGS = (TEMP,ROK,OVERLOAD) RV = 0x224f58 SV = PVHV(0x229ae4) at 0x224f58 REFCNT = 1 FLAGS = (OBJECT,SHAREKEYS) IV = 2 NV = 0 STASH = 0x188be6c "Math::BigInt" ARRAY = 0x1824734 (0:6, 1:2) hash quality = 125.0% KEYS = 2 FILL = 2 MAX = 7 RITER = -1 EITER = 0x0 Elt "value" HASH = 0x1e720953 SV = RV(0x183b34c) at 0x19a6fb4 REFCNT = 1 FLAGS = (ROK) RV = 0x197d210 SV = PVAV(0x19a56b4) at 0x197d210 REFCNT = 1 FLAGS = () IV = 0 NV = 0 ARRAY = 0x1830244 FILL = 0 MAX = 0 ARYLEN = 0x0 FLAGS = (REAL) Elt No. 0 SV = IV(0x19fab0c) at 0x19a6f90 REFCNT = 1 FLAGS = (IOK,pIOK) IV = 0 Elt "sign" HASH = 0xe7455c8f SV = PV(0x225ea0) at 0x19a6f84 REFCNT = 1 FLAGS = (POK,pPOK) PV = 0x182281c "NaN"\0 CUR = 3 LEN = 4 PV = 0x224f58 "" CUR = 0 LEN = 0 D:\>

In reply to Re: How to create nan/inf by Anonymous Monk
in thread How to create nan/inf by syphilis

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.