home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / da / abccalc.sit / ABCcalc.rsrc / STR#_-15998.txt < prev    next >
Text File  |  1987-03-12  |  681b  |  18 lines

  1.   Furthermore, you can assign and use variables, e.g. after x=1/7, you can calculate x*7 (which yields 1).
  2.  
  3.  
  4. Operations:
  5.     x+y, x-y, x*y, x/y, -x, +x: as usual
  6.     x mod y: modulo; x**y: to the power
  7.     round x, n round x: round (to n digits)
  8.     */x, /*x: numerator, denominator of fraction
  9.     floor x: largest integer <= x
  10.  
  11.  
  12. Results shown are exact, unless they can't be represented exactly in decimal (like 1/7).  Such inexact results are preceded by a ~ and given in about 20 digits of precision.  
  13.  
  14. Type any arithmetic expression, e.g.
  15.     (2**100 / 3.3)
  16. and press the Enter key to see the result; or select an expression with the mouse and press Enter to evaluate it.  
  17.  
  18.