NotANumber.st
changeset 21887 71fd88b46048
parent 7471 c5d4bd612d9f
child 21892 1fea613ccf95
equal deleted inserted replaced
21886:55ce21399bb1 21887:71fd88b46048
     7  inclusion of the above copyright notice.   This software may not
     7  inclusion of the above copyright notice.   This software may not
     8  be provided or otherwise made available to, or used by, any
     8  be provided or otherwise made available to, or used by, any
     9  other person.  No title to or ownership of the software is
     9  other person.  No title to or ownership of the software is
    10  hereby transferred.
    10  hereby transferred.
    11 "
    11 "
       
    12 "{ Package: 'stx:libbasic' }"
    12 
    13 
    13 "{ Package: 'stx:libbasic' }"
    14 "{ NameSpace: Smalltalk }"
    14 
    15 
    15 MetaNumber subclass:#NotANumber
    16 MetaNumber subclass:#NotANumber
    16 	instanceVariableNames:''
    17 	instanceVariableNames:''
    17 	classVariableNames:'NaN'
    18 	classVariableNames:'NaN'
    18 	poolDictionaries:''
    19 	poolDictionaries:''
    35 "
    36 "
    36 !
    37 !
    37 
    38 
    38 documentation
    39 documentation
    39 "
    40 "
    40     Represents the two metaNumbers +INF and -INF for non-float classes.
    41     Represents the NaN metaNumber for non-float classes.
    41 
    42 
    42     [author:]
    43     [author:]
    43         Claus Gittinger
    44         Claus Gittinger
    44 
    45 
    45     [see also:]
    46     [see also:]
    46         Number Infinity NotANumber
    47         Number Infinity
    47         Float ShortFloat Fraction FixedPoint Integer Complex
    48         Float ShortFloat LongFloat QDouble Fraction FixedPoint Integer Complex
    48         FloatArray DoubleArray                                                                         
    49         FloatArray DoubleArray                                                                         
    49 "
    50 "
    50 ! !
    51 ! !
    51 
    52 
    52 !NotANumber class methodsFor:'instance creation'!
    53 !NotANumber class methodsFor:'instance creation'!
   155 ! !
   156 ! !
   156 
   157 
   157 !NotANumber class methodsFor:'documentation'!
   158 !NotANumber class methodsFor:'documentation'!
   158 
   159 
   159 version
   160 version
   160     ^ '$Header: /cvs/stx/stx/libbasic/NotANumber.st,v 1.2 2003-07-02 09:52:32 cg Exp $'
   161     ^ '$Header$'
   161 ! !
   162 ! !
   162 
   163 
       
   164 
   163 NotANumber initialize!
   165 NotANumber initialize!