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.8 date: 2021/11/21 16:02:17
user: cg
file: ImaginaryResultError.st directory: libbasic
module: stx stc-classLibrary: libbasic

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

copyright

COPYRIGHT (c) 2003 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

accessing
o  defaultNotifierString



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Tue, 10 Dec 2024 20:13:40 GMT