Talk:Roots of unity: Difference between revisions

Content added Content deleted
m (added a section header to the first topic to properly place the table-of-contents (TOC) --- (this happens more often than one would think).)
m (added a talk section, corrected a misspelling.)
 
Line 1: Line 1:
== Seed7 output ==
== 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)
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 6: Line 7:
(well in Algol68 it seems to be an i with an underscore which IIRC is a different alphabet).
(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.
The output of -0.5000i+0.8660 means -0.5000+i*0.8660 which might be counter intuitive.
I choosed it that way to make the 'parse' function (which converts a string to a complex) easy implementable as:
I chose it that way to make the 'parse' function (which converts a string to a complex) easy implementable as:
<pre>
<pre>
(**
(**
Line 85: Line 86:
This function is less complicated than I thought. The sign of the imaginary part is used as separator between real and imaginary part.
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)
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 ==
== Icon question ==
Line 91: Line 93:


oops :) , thanks for correcting. [[User:Rahul|Rahul]] 21:49, 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)