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.1.0.0; WebServer 1.663 at exept.de:8081; Sun, 23 Sep 2018 10:11:31 GMT