Uh, 9 thousand billion (9 quadrillion to stupid Americans who don't realize that it doesn't make sense to refer to "1 thousand million" as "a billion") is what I was talking about (not 9 thousand trillion unless you have 73-bit mantissas on your system -- or were you just using American numbers while avoiding the little-used "quadrillion" term?). (:

Your code above shows that auto increment isn't considered "math" by use integer, so $y is stored as a double, BTW.

Update: America vs. the world:
English-speaking WorldStupid Americas
1,000thousandthousand
11000,000millionmillion
1,0001000,000thousand million (or milliard)billion
12000,0001000,000billiontrillion
1,0002000,0001000,000thousand billionquadrillion
13000,0002000,0001000,000trillionquintillion
1,0003000,0002000,0001000,000thousand trillionsextillion

So when I read "thousand trillion", I think "not stupid American, 1e21". My Perl numbers stop incrementing by one a little ways after 9e15 which I prefer to call "9 thousand billion" (being an American but one that knows enough to see that using "billion" for three sets of three zeros doesn't make as much sense as using "billion" for two sets of six zeros) but "officially" Americans are supposed to call that "9 quadrillion". If you ignore the non-American world, then "9 thousand trillion" might be just another way of saying "9 quadrillion". (:

Anyway, that is what I meant. And thanks for giving me an excuse to rant about this. ;)

        - tye (but my friends call me "Tye")

In reply to (tye)Re2: Simple Rotation by tye
in thread Simple Rotation by Ovid

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.