help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bc, basic calculator


From: Akos Marton
Subject: Re: bc, basic calculator
Date: Mon, 26 Dec 2011 22:46:32 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20111010 Firefox/7.0.1 SeaMonkey/2.4.1

If you would still be interested in calculating large factorials in an arbitrary-precision way, lets see one solution.
Regards, mAkos.

>> Subject: [OctDev] factorial on log scale
>> Am 26.12.2011 21:48, schrieb Dr. Alexander Klein:
>> As an additional simple solution I also want to point at the symbolic
>> package which can do arbitray prec arithmetic
>>
>> pkg load symbolic
>> fac=vpa("1");
>> for i=1:400
>> x=vpa(num2str(i));
>> fac = fac*x;
>> end
>> fac



reply via email to

[Prev in Thread] Current Thread [Next in Thread]