Float.st
changeset 9150 550cef1b935a
parent 9124 1bc6bb791bdc
child 9637 3e3866fb16e9
equal deleted inserted replaced
9149:3fb15c4d83d8 9150:550cef1b935a
   588      ^ 52
   588      ^ 52
   589 !
   589 !
   590 
   590 
   591 precision
   591 precision
   592     "answer the precision of a Float (in bits)
   592     "answer the precision of a Float (in bits)
   593      This is an IEEE double, only the fraction from the normalized mantissa is stored 
   593      This is an IEEE double, where only the fraction from the normalized mantissa is stored 
   594      and so there is a hidden bit and the mantissa is actually represented 
   594      and so there is a hidden bit and the mantissa is actually represented 
   595      by 53 binary digits"
   595      by 53 binary digits (although only 52 are needed in the binary representation)"
   596 
   596 
   597     ^  53
   597     ^  53
   598 !
   598 !
   599 
   599 
   600 radix
   600 radix
  2587 ! !
  2587 ! !
  2588 
  2588 
  2589 !Float class methodsFor:'documentation'!
  2589 !Float class methodsFor:'documentation'!
  2590 
  2590 
  2591 version
  2591 version
  2592     ^ '$Header: /cvs/stx/stx/libbasic/Float.st,v 1.160 2006-02-17 11:50:39 cg Exp $'
  2592     ^ '$Header: /cvs/stx/stx/libbasic/Float.st,v 1.161 2006-02-20 11:28:56 cg Exp $'
  2593 ! !
  2593 ! !
  2594 
  2594 
  2595 Float initialize!
  2595 Float initialize!