Skip to content

Commit eca5b1d

Browse files
fix: corrected the documentation.
1 parent a04e512 commit eca5b1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Math-Tests-Complex/PMComplexNumberTest.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ PMComplexNumberTest >> testRaisedToNegativeInteger [
660660
"
661661
Suppose z = cos(pi / 3) + i sin(pi / 3). By De Moivre's theorem, z**-3 is
662662
z ** 3 = cos(-3 pi / 3) + i sin(-3 pi / 3) = cos(-pi) + sin(pi) = cos(pi) - i sin(pi)
663-
z ** 3 = 0 - i
663+
z ** 3 = -1 + 0 i
664664
"
665665
| z |
666666
z := (1 / 2) + (3 sqrt / 2) i.

0 commit comments

Comments
 (0)