Changes between Version 1 and Version 2 of ShCalc

Show
Ignore:
Timestamp:
10/15/09 16:18:37 (11 months ago)
Author:
MarcusWalther
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ShCalc

    v1 v2  
    3030.. note: some of the operation signs are escaped by back slash to disable their special meaning inside ReST markup 
    3131 
    32 ====== ========= ========== ========== =========== ==== 
    33 <type> operation <operand1> <operand2> result-type task 
    34 ------ --------- ---------- ---------- ----------- ---- 
     32====== ========== ========== ========== =========== ==== 
     33<type> operation  <operand1> <operand2> result-type task 
     34------ ---------- ---------- ---------- ----------- ---- 
    3535operations on integer numbers 
    36 ------------------------------------------------------- 
    37 i      \+        i          i          i           addition of integers 
    38 i      \-        i          i          i           subtraction of integers 
    39 i      \*        i          i          i           multiplication of integers 
    40 i      div       i          i          i           division of integers (no remainder) 
    41 i      mod       i          i          i           remainder of integer division 
    42 ------ --------- ---------- ---------- ----------- ---- 
     36-------------------------------------------------------- 
     37i      \+         i          i          i           addition of integers 
     38i      \-         i          i          i           subtraction of integers 
     39i      \*         i          i          i           multiplication of integers 
     40i      div        i          i          i           division of integers (no remainder) 
     41i      mod        i          i          i           remainder of integer division 
     42i      int        i                                 (undocumented) 
     43------ ---------- ---------- ---------- ----------- ---- 
    4344operations on real numbers 
    44 ------------------------------------------------------- 
    45 r      \+        r          r          r           addition of real numbers 
    46 r      \-        r          r          r           subtraction of real numbers 
    47 r      \*        r          r          r           multiplication of real numbers 
    48 r      div       r          r          r           division of real numbers 
    49 r      abs       r                     r           remove sign 
    50 r      arccos    r                     r           arccos of <operand1> in degrees 
    51 r      arcsin    r                     r           arcsin of <operand1> in degrees 
    52 r      arctan    r                     r           arctan of <operand1> in degrees 
    53 r      arctan2   r          r          r           arctan of <operand1>/<operand2> in degrees 
    54 r      cos       r                     r           cosine of <operand1> (input in degrees) 
    55 r      sin       r                     r           sine of <operand1> (input in degrees) 
    56 r      tan       r                     r           tangens of <operand1> (input in degrees) 
    57 r      cosh      r                     r           cosh of <operand1> 
    58 r      sinh      r                     r           sinh of <operand1> 
    59 r      tanh      r                     r           tanh of <operand1> 
    60 r      exp       r                     r           exp(<operand1>) 
    61 r      ln        r                     r           natural logarithm 
    62 r      log       r                     r           decimal logarithm 
    63 r      power     r          r          r           exponentiation of <operand1> by <operand2> 
    64 r      sqrt      r                     r           square root of <operand1> 
    65 ------ --------- ---------- ---------- ----------- ---- 
     45-------------------------------------------------------- 
     46r      \+         r          r          r           addition of real numbers 
     47r      \-         r          r          r           subtraction of real numbers 
     48r      \*         r          r          r           multiplication of real numbers 
     49r      div        r          r          r           division of real numbers 
     50r      abs        r                     r           remove sign 
     51r      arccos     r                     r           arccos of <operand1> in degrees 
     52r      arcsin     r                     r           arcsin of <operand1> in degrees 
     53r      arctan     r                     r           arctan of <operand1> in degrees 
     54r      arctan2    r          r          r           arctan of <operand1>/<operand2> in degrees 
     55r      cos        r                     r           cosine of <operand1> (input in degrees) 
     56r      sin        r                     r           sine of <operand1> (input in degrees) 
     57r      tan        r                     r           tangens of <operand1> (input in degrees) 
     58r      cosh       r                     r           cosh of <operand1> 
     59r      sinh       r                     r           sinh of <operand1> 
     60r      tanh       r                     r           tanh of <operand1> 
     61r      exp        r                     r           exp(<operand1>) 
     62r      ln         r                     r           natural logarithm 
     63r      log        r                     r           decimal logarithm 
     64r      power      r          r          r           exponentiation of <operand1> by <operand2> 
     65r      sqrt       r                     r           square root of <operand1> 
     66------ ---------- ---------- ---------- ----------- ---- 
    6667operations on strings 
    67 ------------------------------------------------------- 
    68 s      \+        s          s          s           concatenation with blank 
    69 s      parse     s          i          s           takes "<operand2>"-th substring of <operand1> 
    70 s      extract   s          i(+i)      s           extracts <p> chars from pos <operand2> 
    71 ------ --------- ---------- ---------- ----------- ---- 
     68-------------------------------------------------------- 
     69s      \+         s          s          s           concatenation with blank 
     70s      parse      s          i          s           takes "<operand2>"-th substring of <operand1> 
     71s      extract    s          i(+i)      s           extracts <p> chars from pos <operand2> 
     72s      lower      s          s                      (undocumented) 
     73s      lowercase  s                                 (undocumented) 
     74s      upper      s                                 (undocumented) 
     75s      phaseupper s                                 (undocumented) 
     76s      doslash    s                                 (undocumented) 
     77s      qname      s                                 (undocumented) 
     78s      strlen     s                                 (undocumented) 
     79------ ---------- ---------- ---------- ----------- ---- 
    7280operations on time values 
    73 ------------------------------------------------------- 
    74 t      tdiff     t          t          r           computes difference of absolute times in sec 
    75 t      tadd      t          r          t           adds <operand2> secs to <operand1> 
    76 ====== ========= ========== ========== =========== ==== 
     81-------------------------------------------------------- 
     82t      tdiff      t          t          r           computes difference of absolute times in sec 
     83t      tadd       t          r          t           adds <operand2> secs to <operand1> 
     84t      julian     t                                 (undocumented) 
     85t      cnv_julian t                                 (undocumented) 
     86t      make_time  t                                 (undocumented) 
     87====== ========== ========== ========== =========== ==== 
    7788}}} 
    7889