Smoke has asked for the wisdom of the Perl Monks concerning the following question:
when $in_out is 2.84894533078051,5,0.002 , but when i try to print $in, i get :... my ($in_out) = @_; my ($out,$diver,$grade) = split(/,/, $in_out, 3); my $in = Math::BigInt->new(($out)**(1/$grade)*$diver); ...
my first question is WHY ?10990761002367800000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000
???10990761002372220870980990761002372220870980980980990761002372220 87098099076100237222087098099076100237222087098098098099076100237 22208709809907610023722208709809907610023722208709809809809907610 0237222087098099076100237222087098
Large numbers broken up to multiple lines to prevent long lines causing horizontal scrolling, by davido.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Misunderstanding with Math::BigInt
by BrowserUk (Patriarch) on Jun 30, 2005 at 21:08 UTC | |
by Smoke (Initiate) on Jun 30, 2005 at 21:19 UTC | |
by BrowserUk (Patriarch) on Jun 30, 2005 at 21:31 UTC | |
by Smoke (Initiate) on Jun 30, 2005 at 21:37 UTC | |
by Anonymous Monk on Jun 30, 2005 at 21:35 UTC | |
|
Re: Misunderstanding with Math::BigInt
by salva (Canon) on Jun 30, 2005 at 20:59 UTC | |
by Smoke (Initiate) on Jun 30, 2005 at 21:04 UTC | |
by jgamble (Pilgrim) on Jun 30, 2005 at 21:20 UTC | |
by salva (Canon) on Jun 30, 2005 at 21:13 UTC | |
|
Re: Misunderstanding with Math::BigInt
by Anonymous Monk on Jun 30, 2005 at 21:10 UTC |