--- a/ImaginaryResultError.st Tue Jun 20 09:04:16 2017 +0200
+++ b/ImaginaryResultError.st Tue Jun 20 12:17:09 2017 +0200
@@ -9,8 +9,9 @@
other person. No title to or ownership of the software is
hereby transferred.
"
+"{ Package: 'stx:libbasic' }"
-"{ Package: 'stx:libbasic' }"
+"{ NameSpace: Smalltalk }"
DomainError subclass:#ImaginaryResultError
instanceVariableNames:''
@@ -37,12 +38,12 @@
documentation
"
- Raised by square root functions when the functions-arg is negative,
+ Raised by square root functions when the function's-arg is negative,
so that the result would be imaginary.
For example,
- -1 sqrt
+ -1 sqrt
- Can be caught (see Complex >> trapImaginary) to automagically convert to Complex)
+ Can be caught (see Complex >> trapImaginary:) to automagically convert to Complex results
"
! !
@@ -55,7 +56,8 @@
!ImaginaryResultError class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/ImaginaryResultError.st,v 1.3 2014-06-10 10:13:28 cg Exp $'
+ ^ '$Header$'
! !
+
ImaginaryResultError initialize!