Complex.st
changeset 21110 fe4d99579623
parent 20740 f6574113b828
child 21242 19fabe339f8b
child 21537 81b78d558eaf
--- a/Complex.st	Wed Dec 07 17:22:50 2016 +0100
+++ b/Complex.st	Wed Dec 07 17:38:40 2016 +0100
@@ -448,6 +448,8 @@
 !
 
 differenceFromFixedPoint: aFixedPoint
+    "Return the difference of the argument, aFixedPoint and the receiver."
+
     ^ aFixedPoint asComplex - self
 !
 
@@ -469,10 +471,14 @@
 !
 
 differenceFromFraction: aFraction
+    "Return the difference of the argument, aFraction and the receiver."
+
     ^ aFraction asComplex - self
 !
 
 differenceFromInteger: anInteger
+    "Return the difference of the argument, anInteger and the receiver."
+
     ^ anInteger asComplex - self
 !
 
@@ -499,6 +505,8 @@
 !
 
 productFromFixedPoint: aFixedPoint
+    "Return the product of the receiver and the argument, aFixedPoint."
+
     ^ aFixedPoint asComplex * self
 !
 
@@ -523,10 +531,14 @@
 !
 
 productFromFraction: aFraction
+    "Return the product of the receiver and the argument, aFraction."
+
     ^ aFraction asComplex * self
 !
 
 productFromInteger: anInteger
+    "Return the product of the receiver and the argument, anInteger."
+
     ^ anInteger asComplex * self
 !
 
@@ -601,6 +613,8 @@
 !
 
 sumFromFixedPoint: aFixedPoint
+    "Return the sum of the receiver and the argument, aFixedPoint."
+
     ^ aFixedPoint asComplex + self
 !
 
@@ -622,10 +636,14 @@
 !
 
 sumFromFraction: aFraction
+    "Return the sum of the receiver and the argument, aFraction."
+
     ^ aFraction asComplex + self
 !
 
 sumFromInteger: anInteger
+    "Return the sum of the receiver and the argument, anInteger."
+
     ^ anInteger asComplex + self
 ! !