![]() | Smalltalk/X WebserverDocumentation of class 'InfiniteResultError': |
Class: InfiniteResultErrorInheritance:Object | +--GenericException | +--Exception | +--Error | +--ProceedableError | +--ExecutionError | +--ArithmeticError | +--DomainError | +--InfiniteResultError
Description:
Raised eg. by logarithm functions,
when the function's-arg is not strictly positive,
and the result would be infinite,
or by the asFloat functions, when the receiver is out of range.
For example,
0 ln
or,
3.5e39 asShortFloat
Can be caught (see Number >> trapInfinite:) to automagically convert to INF.
Can also be proceeded, to get an INF.
Class protocol:accessing | |
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 15 Sep 2025 07:25:19 GMT |