in reply to big integers forcing me to be a C programmer: "range iterator outside integer range"
The simple answer is no. Perl limits its range iterators to integers. But even if it allowed floating point iterators it wouldn't help you, as there is no binary floating point representation that can accurately hold a 315,653(*) 309 digit integer!
(*Perl lied to me! Don't use bignum; and use Math::BigInt; in the same code. It appears to get confused!)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: big integers forcing me to be a C programmer: "range iterator outside integer range"
by shmem (Chancellor) on May 07, 2009 at 11:14 UTC | |
by BrowserUk (Patriarch) on May 07, 2009 at 11:20 UTC | |
by shmem (Chancellor) on May 07, 2009 at 11:24 UTC | |
by JavaFan (Canon) on May 07, 2009 at 11:55 UTC |