Talk:Roots of unity: Difference between revisions

m
added a talk section, corrected a misspelling.
(Writing a complex number as -0.5000+0.8660i)
m (added a talk section, corrected a misspelling.)
 
(3 intermediate revisions by 3 users not shown)
Line 1:
== Seed7 output ==
 
I think the Seed7 output has its real and imaginary parts reversed. (1.000*i)<sup>2</sup> is -1 not 1. --[[User:Mwn3d|Mwn3d]] 07:14, 21 January 2008 (MST)
 
Line 5 ⟶ 7:
(well in Algol68 it seems to be an i with an underscore which IIRC is a different alphabet).
The output of -0.5000i+0.8660 means -0.5000+i*0.8660 which might be counter intuitive.
I choosedchose it that way to make the 'parse' function (which converts a string to a complex) easy implementable as:
<pre>
(**
Line 84 ⟶ 86:
This function is less complicated than I thought. The sign of the imaginary part is used as separator between real and imaginary part.
I will include this change in the next release of Seed7. After the release I will change the output of the "Roots of unity" example. [[User:Thomas Mertes|Thomas Mertes]] 06:36, 27 January 2008 (MST)
 
 
== Icon question ==
 
Is the parameter n to the procedure str_rep used? It's not an Icon secret is it? --[[User:Mwn3d|Mwn3d]] 21:30, 10 December 2008 (UTC)
 
oops :) , thanks for correcting. [[User:Rahul|Rahul]] 21:49, 10 December 2008 (UTC)
 
 
== number one ==
 
You have to be odd to be number one. &nbsp; &nbsp; &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 18:21, 17 August 2020 (UTC)