Hi Mark, for: 1) I don't think that there is anyway to allocate more specifically. Win32 platforms will allow up to 2 GB of memory per process - and I have had errant process that have used it all and then unceremoniously crashed. If you can run it on Win64 you shouldn't have any constraints - other than physical memory. If you have to stay on Win32 would Tie::File be of use? 2) not sure that this is what you want, but check http://perldoc.perl.org/functions/sprintf.html and scroll down to where it describes precision, or maximum width. Note that I didn't try this, just pointing you to something that will hopefully help.
CLIFF SOBCHUK Core RF Engineering Phone 613-667-1974 ecn: 8109-71974 mobile 403-819-9233 yahoo: sobchuk www.ericsson.com<http://www.ericsson.com/> "The author works for Telefonaktiebolaget L M Ericsson ("Ericsson"), who is solely responsible for this email and its contents. All inquiries regarding this email should be addressed to Ericsson. The web site for Ericsson is www.ericsson.com." This Communication is Confidential. We only send and receive email on the basis of the terms set out at www.ericsson.com/email_disclaimer<http://www.ericsson.com/email_disclaimer> ________________________________ From: MARK BAKER [mailto:[email protected]] Sent: Thursday, October 18, 2012 9:52 AM To: Kaj Wiik Cc: perldl list Subject: Re: [Perldl] 1GB Use more ram + more problems There should be a way to change the rounding for PDL in perl I can use it as a string and it wound round the number yet in PDL if I use it as a string or numerically it still rounds it off I wonder if any might be able to point me to the right module ??? Thanks & Cheers -Mark ________________________________ From: Kaj Wiik <[email protected]> To: MARK BAKER <[email protected]> Cc: perldl list <[email protected]> Sent: Thursday, October 18, 2012 3:25 AM Subject: Re: [Perldl] 1GB Use more ram + more problems Hi! I think it is not memory but precision problem. You could try http://search.cpan.org/~turnstep/Math-GMP-2.06/lib/Math/GMP.pm or try to scale your data... Cheers, Kaj On Thu, Oct 18, 2012 at 4:39 AM, MARK BAKER <[email protected]<mailto:[email protected]>> wrote: > Hey Every one > > I know this has come up quite a few time's and since forgotten how usefull > that information was > > 1. What Module do you change to use more RAM ??? so that you can use more > then 1 GB > > 2. What module do you change to use this in your piddle > > $K = pdl([89237549082745892749087502987450927409827502084935]); > > with out it clobbering every thing into > > p $K > > 8.923754908274589eo-043 something > > if any one can remember please let me know , I will save it some where > special > too so I wont forget ! : } > > Thank you > > -Mark > > _______________________________________________ > Perldl mailing list > [email protected]<mailto:[email protected]> > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl >
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
