--- a/Complex.st Tue Jun 26 20:01:43 2018 +0200
+++ b/Complex.st Tue Jun 26 21:00:37 2018 +0200
@@ -76,8 +76,8 @@
Complex real: 10 imaginary: 5.
Complex abs: 5 arg: (Float pi / 4)
- NOTE:
- Although Complex something similiar to the Smalltalk''s Number class,
+ NOTE (from the original author):
+ Although Complex seems similiar to the Smalltalk''s Number class,
it would not be a good idea to make a Complex to be a subclass of a Number because:
- Number is subclass of Magnitude and Complex is certainly not a magnitude.
Complex does not behave very well as a Magnitude. Operations such as
@@ -985,9 +985,12 @@
"
Complex real:1 imaginary:1
+ (Complex real:1 imaginary:1) printString
+ (Complex real:1 imaginary:1) displayString
"
"Modified (format): / 22-02-2017 / 17:01:02 / cg"
+ "Modified (comment): / 26-06-2018 / 21:00:28 / Claus Gittinger"
!
printOn: aStream