--- a/Complex.st Thu Jan 24 17:05:06 2019 +0100
+++ b/Complex.st Sat Jan 26 10:58:05 2019 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
This is a Manchester Goodie. It is distributed freely on condition
that you observe these conditions in respect of the whole Goodie, and on
@@ -797,6 +799,20 @@
^ anInteger asComplex / self
!
+raisedFromFloat:aNumber
+ ^ self raisedFromNumber:aNumber
+
+ "
+ 2 raisedTo:(2 + 2i)
+ 2 ** (2 + 2i)
+
+ 2.0 raisedTo:(2 + 2i)
+ 2.0 ** (2 + 2i)
+ "
+
+ "Created: / 26-01-2019 / 10:56:06 / Claus Gittinger"
+!
+
raisedFromNumber:aNumber
"see http://www.math.toronto.edu/mathnet/questionCorner/complexexp.html"
@@ -1356,5 +1372,9 @@
version
^ '$Header$'
+!
+
+version_CVS
+ ^ '$Header$'
! !