Well, the difference between 1e-5000 and 1e-5100 is pretty small. For most intents and purposes, there is no difference

Heh ... I thought this was about "mathematical equality", but suddenly it's now also about "intents and purposes".
For double precision NVs I could have chosen much larger values of (say) 1e-324 and 1e-325 ... but you're probably not going to be swayed by that, anyway ;-)

By my calculations, the latter is 659669 orders of magnitude bigger than the former

Yep, I get the same:
C:\>perl -MMath::MPFR -le "$x=Math::MPFR->new(6 ** 6); print 6 ** $x; 2.6591197721532269e36305 C:\>perl -MMath::MPFR -le "$x=Math::MPFR->new(7 ** 7); print 7 ** $x; 3.7598235267837884e695974

Cheers,
Rob

In reply to Re^7: IF condition with a range (updated) by syphilis
in thread IF condition with a range by Anonymous Monk

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.