ArithmeticValue.st
changeset 14002 0f1ef36dc1b6
parent 14001 b45a88cd1901
child 14497 211259d933cb
equal deleted inserted replaced
14001:b45a88cd1901 14002:0f1ef36dc1b6
   828      retry the operation by coercing to higher generality"
   828      retry the operation by coercing to higher generality"
   829 
   829 
   830     ^ aShortFloat retry:#< coercing:self
   830     ^ aShortFloat retry:#< coercing:self
   831 
   831 
   832     "Modified: 17.4.1996 / 12:33:33 / cg"
   832     "Modified: 17.4.1996 / 12:33:33 / cg"
       
   833 !
       
   834 
       
   835 moduloFromInteger:anInteger
       
   836     "anInteger does not know how to compute the modulo from the receiver -
       
   837      retry the operation by coercing to higher generality"
       
   838 
       
   839     ^ anInteger retry:#\\ coercing:self
       
   840 
       
   841     "Created: / 12-02-2012 / 20:38:13 / cg"
   833 !
   842 !
   834 
   843 
   835 productFromComplex:aComplex
   844 productFromComplex:aComplex
   836     "the receiver does not know how to multiply a complex -
   845     "the receiver does not know how to multiply a complex -
   837      retry the operation by coercing to higher generality"
   846      retry the operation by coercing to higher generality"
  1322 ! !
  1331 ! !
  1323 
  1332 
  1324 !ArithmeticValue class methodsFor:'documentation'!
  1333 !ArithmeticValue class methodsFor:'documentation'!
  1325 
  1334 
  1326 version
  1335 version
  1327     ^ '$Header: /cvs/stx/stx/libbasic/ArithmeticValue.st,v 1.88 2012-02-12 19:49:06 cg Exp $'
  1336     ^ '$Header: /cvs/stx/stx/libbasic/ArithmeticValue.st,v 1.89 2012-02-12 19:53:21 cg Exp $'
  1328 !
  1337 !
  1329 
  1338 
  1330 version_CVS
  1339 version_CVS
  1331     ^ '$Header: /cvs/stx/stx/libbasic/ArithmeticValue.st,v 1.88 2012-02-12 19:49:06 cg Exp $'
  1340     ^ '$Header: /cvs/stx/stx/libbasic/ArithmeticValue.st,v 1.89 2012-02-12 19:53:21 cg Exp $'
  1332 ! !
  1341 ! !
  1333 
  1342 
  1334 ArithmeticValue initialize!
  1343 ArithmeticValue initialize!