Re: bignum 0.22



On Thu, 5 Jul 2007, Sisyphus wrote:


"gamo" <gamo@xxxxxxxxxxxx> wrote in message
news:Pine.LNX.4.64.0707041540080.19628@xxxxxxxxx

Hello

I found a problem related with calculating Catalan's numbers


What is the problem ? (I don't see it.)

Cheers,
Rob


The problem is that this output lacks precision aparently

216489185503133990863274261791925599831200000000000000000000
853702637172735926234421145556838686126800000000000000000000
3366939372774715522158184331074634818182000000000000000000000
13280705303722489004068393750349948449500000000000000000000000
52391773216519910749994580850004383791590000000000000000000000
206709359781542193322705891717290023323200000000000000000000000
815663960219058384462569194343901173113100000000000000000000000
3218959557293069695825496284821467129607000000000000000000000000
12704920022590345879098861442746675573490000000000000000000000000
50151000089172417943811295168736877263790000000000000000000000000
197987426438993719534698504405274280676200000000000000000000000000
781708976802233823680102715669100177152500000000000000000000000000
3086748267372923303762456877257472494397000000000000000000000000000
12190039767760866606383939871203238833810000000000000000000000000000
48145535217206784075634048230802707999060000000000000000000000000000
190174864107966797098754490511670696596300000000000000000000000000000
751269297881058917464501210451062751843200000000000000000000000000000
2968129521136642608343357241290264314659000000000000000000000000000000
11727731278637465915893265197293239487190000000000000000000000000000000
46343454246228695957965322150594252812290000000000000000000000000000000
183149331181095806425878953139148487114200000000000000000000000000000000
723875928001473901587997767169015449070200000000000000000000000000000000
2861304849265668492891140780463352404986000000000000000000000000000000000
11311095732253345760960290897769189975960000000000000000000000000000000000
44718285453094622775889522153971216184030000000000000000000000000000000000
176809220945312585436978572208778500912300000000000000000000000000000000000
699138751524213124094312216825551629561400000000000000000000000000000000000
2764775971936660990736598311991954171447000000000000000000000000000000000000
10934377152170553993439479038404269881060000000000000000000000000000000000000
43247909631719355347185999181748231619130000000000000000000000000000000000000
171069509209912116706646841207804116182300000000000000000000000000000000000000
676730852609799402854235298307342753721300000000000000000000000000000000000000

Cheers,

--
http://www.telecable.es/personales/gamo/
perl -e 'print 111_111_111**2,"\n";'
.



Relevant Pages

  • Re: How to detect an undefined SV* value in XS?
    ... Sisyphus wrote: ... > afaict. ... Thanks for the response, Rob. ...
    (comp.lang.perl.misc)
  • Re: Cant compile (perlcc) both Net::FTP and Config::IniFiles at the same time
    ... > Sisyphus wrote: ... > Thnx again:) ... To reply by email u have to take out the u in kalinaubears. ...
    (comp.lang.perl.misc)
  • Re: bignum 0.22
    ... On Thu, 5 Jul 2007, gamo wrote: ... I found a problem related with calculating Catalan's numbers ... Rob ... The real Catalan numbers are of this form ...
    (comp.lang.perl.modules)
  • Re: bignum 0.22
    ... On 07/05/2007 04:36 AM, gamo wrote: ... I found a problem related with calculating Catalan's numbers ... Rob ... BTW, if you make factrecursive and use the Memoize module, you can ...
    (comp.lang.perl.modules)
  • Re: bignum 0.22
    ... I found a problem related with calculating Catalan's numbers ... Is that a bug in bignum? ... Rob ...
    (comp.lang.perl.modules)