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)
c (x)
a (x)
l (x)
e (x)
j (n,x)
Go to the first, previous, next, last section, table of contents.