Talk:Miller–Rabin primality test: Difference between revisions

m
Signed
m (Tcl has 1 as prime)
m (Signed)
Line 10:
 
==Erlang ==
The task asks for a function with two arguments. One is an odd integer, the other is a parameter (also integer?). It seems to me that there is no such function in the Erlang module. I could be wrong since the module exports all its functions making it more difficult to be sure. [[User:bengt]]
 
:I read ''this'' task as just stating that this particular ''algorithm'' is to be used, not necessarily the same variable and function names. (But that's just my guess). --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 05:17, 1 September 2013 (UTC)
 
::It is not the absence on the task page of a function name or that the only function with the mentioned parameter names (n and k) is not doing the ''algorithm'' that is my problem, although both these things makes it more difficult. My problem is that I can not see any of the exported functions doing the task. Therefore I think that the Erlang solution might not be correct. [[User:bengt]]
 
== Python ==
Anonymous user