|
Smalltalk/X WebserverDocumentation of class 'ImaginaryResultError': |
|
|
Class: ImaginaryResultErrorInheritance:Object | +--GenericException | +--Exception | +--Error | +--ProceedableError | +--ExecutionError | +--ArithmeticError | +--DomainError | +--ImaginaryResultError
Description:
Raised by square root functions when the function's-arg is negative,
so that the result would be imaginary.
For example,
-1 sqrt
Can be caught (see Complex >> trapImaginary:) to automagically convert to Complex results
Class protocol:initialize |
|
|
ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 17 Dec 2025 06:24:54 GMT
|