DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(bc.info.gz) Math Library Functions

Info Catalog (bc.info.gz) Functions (bc.info.gz) Functions
 
 Math Library Functions
 ======================
 
    If `bc' is invoked with the `-l' option, a math library is preloaded
 and the default SCALE is set to 20.  The math functions will calculate
 their results to the scale set at the time of their call.  The math
 library defines the following functions:
 
 `s (X)'
      The sine of X, X is in radians.
 
 `c (X)'
      The cosine of X, X is in radians.
 
 `a (X)'
      The arctangent of X, arctangent returns radians.
 
 `l (X)'
      The natural logarithm of X.
 
 `E (X)'
      The exponential function of raising E to the value X.
 
 `J (N,X)'
      The bessel function of integer order N of X.
 
Info Catalog (bc.info.gz) Functions (bc.info.gz) Functions
automatically generated byinfo2html