![]() | Smalltalk/X WebserverDocumentation of class 'ImaginaryResultError': |
Class: ImaginaryResultErrorInheritance:Object | +--GenericException | +--Exception | +--Error | +--ProceedableError | +--ExecutionError | +--ArithmeticError | +--DomainError | +--ImaginaryResultError
Description:
Raised by eg. the 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:accessing | |
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 15 Sep 2025 07:25:17 GMT |