Created
January 17, 2014 15:53
-
-
Save mavit/8475760 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use v5.16; | |
use warnings; | |
use bigint; | |
use Lingua::EN::Numbers; | |
sub output { | |
my $i = shift; | |
say $i, "\t", Lingua::EN::Numbers::num2en($i); | |
} | |
foreach my $i ( 0..99 ) { | |
output($i); | |
} | |
for ( my $i = 100; $i < 10**33; $i += int rand(2 * $i) ) { | |
output($i); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sample output at https://gist.github.com/mavit/8475644.