#REFACTORING by cg
class: Complex
moved to Number hierarchy
class definition
class: Complex class
comment/format in: #documentation
--- a/Complex.st Sun Jul 01 12:47:47 2018 +0200
+++ b/Complex.st Sun Jul 01 13:08:04 2018 +0200
@@ -1,5 +1,3 @@
-"{ 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
@@ -23,7 +21,7 @@
"{ NameSpace: Smalltalk }"
-ArithmeticValue subclass:#Complex
+Number subclass:#Complex
instanceVariableNames:'real imaginary'
classVariableNames:'ComplexOne ComplexZero'
poolDictionaries:''
@@ -116,6 +114,10 @@
methods from the Number class to the Complex class.
Awful solution. Now I begin to appreciate Self.
+ NOTE (from porter):
+ moved to Number hierarchy.
+ Makes live of users much easier (isNumber, reading, etc)
+
[Author:]
Kurt Hebel (hebel@uinova.cerl.uiuc.edu)
minor changes and double dispatching code by cg.