Fraction.st
branchjv
changeset 17841 7abcc4aef871
parent 17761 b0e5971141bc
child 17845 7e0cfaac936d
equal deleted inserted replaced
17840:a9bb0978dd43 17841:7abcc4aef871
   191 "/        numerator:  314159265358979323846264338327950288419716939937510582097494459
   191 "/        numerator:  314159265358979323846264338327950288419716939937510582097494459
   192 "/        denominator:100000000000000000000000000000000000000000000000000000000000000
   192 "/        denominator:100000000000000000000000000000000000000000000000000000000000000
   193 
   193 
   194     "
   194     "
   195      Fraction pi         
   195      Fraction pi         
   196      Fraction pi asFloat
   196      Fraction pi asFloat - Float pi
   197      Float pi            
   197      Float pi            
   198     "
   198     "
   199 
   199 
   200     "Modified: 5.11.1996 / 11:11:44 / cg"
   200     "Modified: / 03-05-2011 / 11:08:46 / cg"
   201 !
   201 !
   202 
   202 
   203 pi_approximation
   203 pi_approximation
   204     "return an approximation of the constant pi as Fraction.
   204     "return an approximation of the constant pi as Fraction.
   205      The approx. returned is good for 6 valid digits and has an error of less than -2.67-07.
   205      The approx. returned is good for 6 valid digits and has an error of less than -2.67-07.
  1156 ! !
  1156 ! !
  1157 
  1157 
  1158 !Fraction class methodsFor:'documentation'!
  1158 !Fraction class methodsFor:'documentation'!
  1159 
  1159 
  1160 version
  1160 version
  1161     ^ '$Id: Fraction.st 10517 2010-04-26 18:26:38Z vranyj1 $'
  1161     ^ '$Id: Fraction.st 10643 2011-06-08 21:53:07Z vranyj1 $'
  1162 !
  1162 !
  1163 
  1163 
  1164 version_SVN
  1164 version_SVN
  1165     ^ '$Id: Fraction.st 10517 2010-04-26 18:26:38Z vranyj1 $'
  1165     ^ '$Id: Fraction.st 10643 2011-06-08 21:53:07Z vranyj1 $'
       
  1166 
       
  1167 !
       
  1168     
       
  1169 version_CVS
       
  1170     ^ '§Header: /cvs/stx/stx/libbasic/Fraction.st,v 1.81 2011/05/03 09:08:52 cg Exp §'
  1166 ! !
  1171 ! !
  1167 
  1172 
  1168 Fraction initialize!
  1173 Fraction initialize!
       
  1174