What output do you get from this on your system?

#! perl -slw use bignum; $number = 330978816.3082480433473810957254665863937; $number =( int( ( ( log( $number ) / log( 10 ) ) * 10 ) + 0.5 ) ) / 10 +; print"$number\n"; print "$k -> $v" while ( $k, $v ) = each %INC; __END__ c:\test>junk 8.5 XSLoader.pm -> C:/Perl64/lib/XSLoader.pm re.pm -> C:/Perl64/lib/re.pm Math/BigInt/FastCalc.pm -> C:/Perl64/lib/Math/BigInt/FastCalc.pm warnings/register.pm -> C:/Perl64/lib/warnings/register.pm bigint.pm -> C:/Perl64/lib/bigint.pm C:/Perl64/site/lib/sitecustomize.pl -> C:/Perl64/site/lib/sitecustomiz +e.pl ActiveState/Path.pm -> C:/Perl64/lib/ActiveState/Path.pm Cwd.pm -> C:/Perl64/site/lib/Cwd.pm warnings.pm -> C:/Perl64/lib/warnings.pm Config_git.pl -> C:/Perl64/lib/Config_git.pl File/Basename.pm -> C:/Perl64/lib/File/Basename.pm Config.pm -> C:/Perl64/lib/Config.pm integer.pm -> C:/Perl64/lib/integer.pm ActivePerl/Config.pm -> C:/Perl64/lib/ActivePerl/Config.pm Math/BigFloat.pm -> C:/Perl64/lib/Math/BigFloat.pm Carp.pm -> C:/Perl64/lib/Carp.pm Math/BigInt.pm -> C:/Perl64/lib/Math/BigInt.pm Exporter/Heavy.pm -> C:/Perl64/lib/Exporter/Heavy.pm bignum.pm -> C:/Perl64/lib/bignum.pm Exporter.pm -> C:/Perl64/lib/Exporter.pm strict.pm -> C:/Perl64/lib/strict.pm vars.pm -> C:/Perl64/lib/vars.pm Math/BigInt/Calc.pm -> C:/Perl64/lib/Math/BigInt/Calc.pm constant.pm -> C:/Perl64/lib/constant.pm Config_heavy.pl -> C:/Perl64/lib/Config_heavy.pl overload.pm -> C:/Perl64/lib/overload.pm AutoLoader.pm -> C:/Perl64/lib/AutoLoader.pm DynaLoader.pm -> C:/Perl64/lib/DynaLoader.pm

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

In reply to Re^3: What causes NaN when using bignum (Updated: Thanks, [roboticus]) by BrowserUk
in thread What causes NaN when using bignum by Microcebus

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.