eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ImaginaryResultError':

Home

everywhere
www.exept.de
for:
[back]

Class: ImaginaryResultError


Inheritance:

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

Package:
stx:libbasic
Category:
Kernel-Exceptions-Errors
Version:
rev: 1.2 date: 2003-08-29 19:15:11
user: cg
file: ImaginaryResultError.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


Raised by square root functions when the functions-arg is negative,
so that the result would be imaginary.
For example, 
    -1 sqrt

Can be cought (see Complex >> trapImaginary) to automagically convert to Complex)


Class protocol:

initialize
o  initialize



ST/X 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 19:35:20 GMT