#DOCUMENTATION by exept
authorClaus Gittinger <cg@exept.de>
Thu, 21 Nov 2019 22:10:36 +0100
changeset 24936 eaca1260a80c
parent 24935 396384936c4c
child 24937 f74f01d332cf
#DOCUMENTATION by exept class: Complex comment/format in: #arcSinh #i
Complex.st
--- a/Complex.st	Wed Nov 20 18:24:20 2019 +0100
+++ b/Complex.st	Thu Nov 21 22:10:36 2019 +0100
@@ -490,7 +490,7 @@
 
 i
     "Answer the result of multiplying the receiver with pure imaginary.
-        ^ self * 1 i
+        ^ self * 1i
      This is an obvious extension of method i implemented in Number."
 
     ^ self class 
@@ -498,7 +498,10 @@
         imaginary: real
 
     "
-     (10+4i) i -> (-4+10i)
+     (10+4i)i -> (-4+10i)
+     1i * 1i  -> -1
+     1i i     -> -1
+     (3+4i) raisedTo: 2
     "
 !
 
@@ -1210,6 +1213,7 @@
     ^self i arcSin i negated
 
     "
+     (10 + 4i) sinh         -> (-7198.729413635291604-8334.842155341616165i)
      (10 + 4i) sinh arcSinh -> (-10.0-0.8584073464102067614i)
     "
 !