|
|
Class: NotANumber
Object
|
+--Magnitude
|
+--ArithmeticValue
|
+--Number
|
+--MetaNumber
|
+--NotANumber
- Package:
- stx:libbasic
- Category:
- Magnitude-Numbers
- Version:
- rev:
1.2
date: 2003-07-02 09:52:32
- user: cg
- file: NotANumber.st directory: libbasic
- module: stx stc-classLibrary: libbasic
- Author:
- Claus Gittinger
Represents the two metaNumbers +INF and -INF for non-float classes.
Number
Infinity
NotANumber
Float
ShortFloat
Fraction
FixedPoint
Integer
Complex
FloatArray
DoubleArray
class initialization
-
initialize
-
instance creation
-
new
-
arithmetic
-
* aNumber
-
Multiply the receiver and the argument and answer with the result.
-
+ aNumber
-
Add the receiver and the argument and answer with the result.
-
- aNumber
-
Subtract the argument from the receiver and answer with the result.
-
/ aNumber
-
Divide the receiver by the argument and answer with the result.
comparing
-
= something
-
return true, if the argument represents the same numeric value
as the receiver, false otherwise.
double dispatching
-
differenceFromSomeNumber: aNumber
-
sent from aNumber-self, if aNumber does not know how to handle this
-
lessFromSomeNumber: aNumber
-
sent from aNumber < self, if aNumber does not know how to handle this
-
productFromSomeNumber: aNumber
-
sent from aNumber*self, if aNumber does not know how to handle this
-
quotientFromSomeNumber: aNumber
-
Return the quotient of the argument, aNumber and the receiver.
Sent when aNumber does not know how to divide by the receiver.
-
sumFromSomeNumber: aNumber
-
sent from aNumber+self, if aNumber does not know how to handle this
printing
-
printOn: aStream
-
testing
-
isFinite
-
-
isNaN
-
|