manojghosh has asked for the wisdom of the Perl Monks concerning the following question:
my program deals with large integers and random numbers calculations and printing them to files.
I want to use printf() function to write in particular file using file handle and a array variable which contains all rows that i have to print. It is fine when i code like this
but i want to avoid use of bigint, to speed up my program and print to a file with proper format.use bigint.pm $File1=">xyz.txt"; OPEN File1; ### calculations.... #### print(File1 ,@array);### @array having 20 and more digits of scalars close File1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to avoid Bigint module
by moritz (Cardinal) on Mar 18, 2011 at 10:10 UTC | |
by manojghosh (Novice) on Mar 18, 2011 at 10:34 UTC | |
by bart (Canon) on Mar 18, 2011 at 12:03 UTC | |
by moritz (Cardinal) on Mar 18, 2011 at 10:54 UTC | |
|
Re: how to avoid Bigint module
by BrowserUk (Patriarch) on Mar 18, 2011 at 10:21 UTC | |
|
Re: how to avoid Bigint module
by ambrus (Abbot) on Mar 18, 2011 at 13:15 UTC | |
|
Re: how to avoid Bigint module
by JavaFan (Canon) on Mar 18, 2011 at 09:56 UTC | |
|
Re: how to avoid Bigint module
by ikegami (Patriarch) on Mar 18, 2011 at 15:41 UTC |