Float.st
changeset 3244 9ba0abc1d217
parent 3241 259bdd31694b
child 3279 09d2ccf1bed2
equal deleted inserted replaced
3243:b67d9d90ea1f 3244:9ba0abc1d217
   363 !Float class methodsFor:'constants'!
   363 !Float class methodsFor:'constants'!
   364 
   364 
   365 pi
   365 pi
   366     "return the constant pi as Float"
   366     "return the constant pi as Float"
   367 
   367 
   368     ^ 3.1415926535897932384626434
   368     "/ dont expect this many valid digits on all machines;
       
   369     "/ The actual precision is very CPU specific.
       
   370 
       
   371     ^ 3.14159265358979323846264338327950288
   369 
   372 
   370     "Modified: 23.4.1996 / 09:27:02 / cg"
   373     "Modified: 23.4.1996 / 09:27:02 / cg"
   371 !
   374 !
   372 
   375 
   373 unity
   376 unity
  1547 ! !
  1550 ! !
  1548 
  1551 
  1549 !Float class methodsFor:'documentation'!
  1552 !Float class methodsFor:'documentation'!
  1550 
  1553 
  1551 version
  1554 version
  1552     ^ '$Header: /cvs/stx/stx/libbasic/Float.st,v 1.74 1998-01-28 22:30:41 cg Exp $'
  1555     ^ '$Header: /cvs/stx/stx/libbasic/Float.st,v 1.75 1998-01-29 13:28:19 cg Exp $'
  1553 ! !
  1556 ! !
  1554 Float initialize!
  1557 Float initialize!