|
Class: NotANumber
Object
|
+--Magnitude
|
+--ArithmeticValue
|
+--Number
|
+--MetaNumber
|
+--NotANumber
- Package:
- stx:libbasic
- Category:
- Magnitude-Numbers
- Version:
- rev:
1.4
date: 2017/06/21 18:38:20
- user: cg
- file: NotANumber.st directory: libbasic
- module: stx stc-classLibrary: libbasic
- Author:
- Claus Gittinger
Represents the NaN metaNumber for non-float classes.
Number
Infinity
Float
ShortFloat
LongFloat
QDouble
Fraction
FixedPoint
Integer
Complex
FloatArray
DoubleArray
class initialization
-
initialize
-
self initialize
instance creation
-
NaN
-
(comment from inherited method)
return the special 'not a number' value
-
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
-
|