Jump to content

Miller–Rabin primality test: Difference between revisions

m (→‎{{header|REXX}}: minor corrections)
Line 910:
println()</lang>
 
=={{header|Erlang_FortranErlang}}==
 
 
Line 1,005:
Acc;
power(B, E, Acc) ->
power(B, E - 1, B * Acc).</lang>
 
 
 
 
%%%%%%% HAVE UNINTENTIONALLY MERGED FORTRAN PAGE AND UNABLE TO REPAIR %%%%%%%%
 
 
Line 1,015:
{{works with|Fortran|95}}
For the module ''PrimeDecompose'', see [[Prime decomposition#Fortran|Prime decomposition]].
<lang fortran>module Miller_Rabin
module Miller_Rabin
use PrimeDecompose
implicit none
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.