Roots of unity: Difference between revisions

m
→‎{{header|Wren}}: Tweak following further changes to 'fmt'.
m (→‎{{header|Wren}}: Minor update following changes to complex number formatting.)
m (→‎{{header|Wren}}: Tweak following further changes to 'fmt'.)
Line 2,138:
for (n in 2..5) {
Fmt.print("$d roots of 1:", n)
for (r in roots.call(n)) Fmt.print(" $ 0.14z", r)
}</syntaxhighlight>
 
9,476

edits