eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ImaginaryResultError':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ImaginaryResultError


Inheritance:

   Object
   |
   +--GenericException
      |
      +--Exception
         |
         +--Error
            |
            +--ProceedableError
               |
               +--ExecutionError
                  |
                  +--ArithmeticError
                     |
                     +--DomainError
                        |
                        +--ImaginaryResultError

Package:
stx:libbasic
Category:
Kernel-Exceptions-Errors
Version:
rev: 1.4 date: 2017/06/20 10:17:09
user: cg
file: ImaginaryResultError.st directory: libbasic
module: stx stc-classLibrary: libbasic

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
o  initialize



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 25 Apr 2024 12:44:19 GMT