Number.st
changeset 21930 a892609c4586
parent 21916 da181b5ca94e
child 21982 e5e18c857a2b
equal deleted inserted replaced
21929:1b3b40b8b16c 21930:a892609c4586
   618      Float epsilon10
   618      Float epsilon10
   619      ShortFloat epsilon10
   619      ShortFloat epsilon10
   620     "
   620     "
   621 !
   621 !
   622 
   622 
       
   623 i
       
   624     "return the imaginary unit i"
       
   625 
       
   626     
       
   627     ^ Complex real:0 imaginary:1
       
   628 
       
   629     "
       
   630      1 + Number i
       
   631      Number i + 10
       
   632      Number i * Number i
       
   633     "
       
   634 
       
   635     "Created: / 01-07-2017 / 19:44:53 / cg"
       
   636 !
       
   637 
   623 ln10
   638 ln10
   624     "return ln(10) in my representation (and accuracy)."
   639     "return ln(10) in my representation (and accuracy)."
   625 
   640 
   626     ^ self subclassResponsibility
   641     ^ self subclassResponsibility
   627 
   642