Float.st
changeset 18133 7e86f6decdba
parent 18129 dfbced69ed47
child 18138 7b069a4727fd
equal deleted inserted replaced
18132:c9a781c91e1a 18133:7e86f6decdba
       
     1 "{ Encoding: utf8 }"
       
     2 
     1 "
     3 "
     2  COPYRIGHT (c) 1988 by Claus Gittinger
     4  COPYRIGHT (c) 1988 by Claus Gittinger
     3 	      All Rights Reserved
     5 	      All Rights Reserved
     4 
     6 
     5  This software is furnished under a license and may be used
     7  This software is furnished under a license and may be used
   626     "Answer the maximum exponent for this representation."
   628     "Answer the maximum exponent for this representation."
   627 
   629 
   628     ^1023
   630     ^1023
   629 !
   631 !
   630 
   632 
       
   633 emin
       
   634     "Answer the minimum exponent for this representation."
       
   635 
       
   636     ^ -1022
       
   637 !
       
   638 
   631 ln2
   639 ln2
   632     "/ dont expect this many valid digits on all machines;
   640     "/ dont expect this many valid digits on all machines;
   633     "/ The actual precision is very CPU specific.
   641     "/ The actual precision is very CPU specific.
   634 
   642 
   635     ^ 0.69314718055994530941723212145817657.
   643     ^ 0.69314718055994530941723212145817657.
  3092 ! !
  3100 ! !
  3093 
  3101 
  3094 !Float class methodsFor:'documentation'!
  3102 !Float class methodsFor:'documentation'!
  3095 
  3103 
  3096 version
  3104 version
  3097     ^ '$Header: /cvs/stx/stx/libbasic/Float.st,v 1.212 2015-03-25 17:18:33 cg Exp $'
  3105     ^ '$Header: /cvs/stx/stx/libbasic/Float.st,v 1.213 2015-03-25 17:54:34 cg Exp $'
  3098 !
  3106 !
  3099 
  3107 
  3100 version_CVS
  3108 version_CVS
  3101     ^ '$Header: /cvs/stx/stx/libbasic/Float.st,v 1.212 2015-03-25 17:18:33 cg Exp $'
  3109     ^ '$Header: /cvs/stx/stx/libbasic/Float.st,v 1.213 2015-03-25 17:54:34 cg Exp $'
  3102 ! !
  3110 ! !
  3103 
  3111 
  3104 
  3112 
  3105 Float initialize!
  3113 Float initialize!