Searched refs:fact (Results 1 - 25 of 102) sorted by relevance

12345

/macosx-10.9.5/ruby-104/ruby/benchmark/
H A Dbm_app_factorial.rb1 def fact(n) method
3 n * fact(n-1)
10 fact(5000)
/macosx-10.9.5/ruby-104/ruby/benchmark/other-lang/
H A Dfact.pl1 sub fact{ subroutine
7 return $n * fact($n-1);
12 &fact(100);
H A Dfact.rb1 def fact(n) method
5 n * fact(n-1)
12 fact(100)
H A Dfact.scm1 (define (fact n) function
4 (* n (fact (- n 1)))))
7 (fact 100))
H A Deval.rb7 fact
/macosx-10.9.5/ruby-104/ruby/sample/
H A Dfact.rb1 def fact(n) method
9 print fact(ARGV[0].to_i), "\n"
/macosx-10.9.5/Security-55471.14.18/include/security_cryptkit/CurveParamDocs/
H A Dfmodule.c174 pollard_rho(giant N, giant fact, int steps, int abort) argument
176 Parameter fact will be a nontrivial factor found, in which case
177 N is also modified as: N := N/fact.
190 itog(1, fact);
195 gtog(t2, t3); subg(t1,t3); mulg(t3, fact); special_modg(N, fact);
198 gcdg(N, fact);
199 if(!isone(fact)) {
200 found = (gcompg(N, fact) == 0) ? 0 : 1;
207 divg(fact,
215 pollard_pminus1(giant N, giant fact, int lim, int abort) argument
270 ecm(giant N, giant fact, int S, unsigned int B, unsigned int C) argument
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_cryptkit/lib/CurveParamDocs/
H A Dfmodule.c174 pollard_rho(giant N, giant fact, int steps, int abort) argument
176 Parameter fact will be a nontrivial factor found, in which case
177 N is also modified as: N := N/fact.
190 itog(1, fact);
195 gtog(t2, t3); subg(t1,t3); mulg(t3, fact); special_modg(N, fact);
198 gcdg(N, fact);
199 if(!isone(fact)) {
200 found = (gcompg(N, fact) == 0) ? 0 : 1;
207 divg(fact,
215 pollard_pminus1(giant N, giant fact, int lim, int abort) argument
270 ecm(giant N, giant fact, int S, unsigned int B, unsigned int C) argument
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/bigdecimal/lib/bigdecimal/
H A Dnewton.rb61 fact = two
64 fact *= p5
65 if fact < minfact then
69 x[i] = xs[i] - dx[i]*fact
/macosx-10.9.5/Security-55471.14.18/libsecurity_codesigning/antlr2/src/
H A DASTFactory.cpp49 ASTFactory::ASTFactory( const char* factory_node_name, factory_type fact )
50 : default_factory_descriptor(ANTLR_USE_NAMESPACE(std)make_pair(factory_node_name, fact))
119 factory_descriptor_list::iterator fact = nodeFactories.begin(); variable
121 while( fact != nodeFactories.end() )
123 if( type_name == (*fact)->first )
125 RefAST t = (*fact)->second();
129 fact++;
/macosx-10.9.5/ruby-104/ruby/test/rubygems/
H A Dtest_gem_text.rb25 This line is really, really long. So long, in fact, that it is more than eighty characters long! The purpose of this line is for testing wrapping behavior because sometimes people don't wrap their text to eighty characters. Without the wrapping, the text might not look good in the RSS feed.
29 This line is really, really long. So long, in fact, that it is more than
/macosx-10.9.5/ruby-104/ruby/test/ruby/
H A Dtest_optimization.rb175 def fact(n) method in class:test_tailcall
180 assert_equal(9131, Tailcall.new.fact(3000).to_s.size, bug4082)
H A Dtest_primitive.rb290 assert_equal 306057512216440636035370461297268629388588804173576999416776741259476533176716867465515291422477573349939147888701726368864263907759003154226842927906974559841225476930271954604008012215776252176854255965356903506788725264321896264299365204576448830388909753943489625436053225980776521270822437639449120128678675368305712293681943649956460498166450227716500185176546469340112226034729724066333258583506870150169794168850353752137554910289126407157154830282284937952636580145235233156936482233436799254594095276820608062232812387383880817049600000000000000000000000000000000000000000000000000000000000000000000000000, fact(300)
293 def fact(n) method
295 n * fact(n - 1)
H A Dtest_bignum.rb16 def fact(n) method in class:TestBignum
27 $x = fact(40)
29 assert_equal($x, fact(40))
35 assert_equal(335367096786357081410764800000, $x/fact(20))
/macosx-10.9.5/CPANInternal-140/DBIx-Class/lib/DBIx/Class/Storage/DBI/
H A DMultiColumnIn.pm16 in fact understand WHERE (cola, colb) IN ( SELECT subcol_a, subcol_b ... )
/macosx-10.9.5/CPANInternal-140/DBIx-Class/lib/DBIx/Class/Storage/DBI/Oracle/
H A DWhereJoins.pm44 not possible due to the fact that Oracle requires the entire query be written
/macosx-10.9.5/CPANInternal-140/DBIx-Class/t/lib/DBICTest/
H A DAuthorCheck.pm72 If you are seeing this message unexpectedly (i.e. you are in fact
/macosx-10.9.5/CPANInternal-140/Template-Toolkit/lib/Template/Plugin/
H A DProcedural.pm107 Despite the fact that subroutines will not be called in an OO manner,
H A DAssert.pm122 fact and print nothing. If you C<USE> the C<assert> plugin then you
/macosx-10.9.5/CPANInternal-140/Template-Toolkit-2.24/lib/Template/Plugin/
H A DProcedural.pm107 Despite the fact that subroutines will not be called in an OO manner,
H A DAssert.pm122 fact and print nothing. If you C<USE> the C<assert> plugin then you
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/math/
H A Dexponential.tcl99 set fact 1.
103 set fact [expr { $fact * $n }]
104 set term [expr { $pow / $n / $fact }]
/macosx-10.9.5/CPANInternal-140/XML-SAX/XML-SAX-Base/lib/XML/SAX/
H A DException.pm118 This is as simple as exemplified in the SYNOPSIS. In fact, there's
/macosx-10.9.5/emacs-92/emacs/src/
H A Dsound.c996 int fact = snd_pcm_format_size (sd->format, 1) * sd->channels;
997 return p->period_size * (fact > 0 ? fact : 1);
1214 int fact = snd_pcm_format_size (sd->format, 1) * sd->channels;
1220 snd_pcm_uframes_t frames = (nbytes - nwritten)/fact;
1251 nwritten += err * fact;
995 int fact = snd_pcm_format_size (sd->format, 1) * sd->channels; local
1213 int fact = snd_pcm_format_size (sd->format, 1) * sd->channels; local
/macosx-10.9.5/vim-53/runtime/syntax/
H A Djess.vim52 syn keyword jessFunc fact-slot-value facts fetch
55 syn keyword jessFunc get get-fact-duplication
76 syn keyword jessFunc save-facts set set-fact-duplication

Completed in 164 milliseconds

12345