Anonymous user
Roots of unity: Difference between revisions
→{{header|Ada}}: Remove a variable "J" from the calculation of Factor, since it seems to be wrong.
(added ocaml) |
(→{{header|Ada}}: Remove a variable "J" from the calculation of Factor, since it seems to be wrong.) |
||
Line 21:
Put(" ");
for K in 1..Root/2 loop
Factor := Exp(Real(K) * 2.0
Complex_Io.Put(Item => Factor, Fore => 2, Aft => 4, Exp => 0);
end loop;
|