AKS test for primes: Difference between revisions

Content added Content deleted
m (Automated syntax highlighting fixup (second round - minor fixes))
(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
Line 5,592: Line 5,592:
</pre>
</pre>


=={{header|Vlang}}==
=={{header|V (Vlang)}}==
{{trans|go}}
{{trans|go}}
<syntaxhighlight lang="vlang">fn bc(p int) []i64 {
<syntaxhighlight lang="v (vlang)">fn bc(p int) []i64 {
mut c := []i64{len: p+1}
mut c := []i64{len: p+1}
mut r := i64(1)
mut r := i64(1)