# log -- logarithm function

## Synopsis

• Usage:
log x
log(b,x)
log_b x
log I
log(b,I)
log_b I
log(J,x)
log_J x
log(J,I)
log_J I
• Inputs:
• x,
• b, , the base for the logarithm
• I,
• J, , an interval of bases for the logarithm
• Outputs:
• the logarithm of x
• , an interval containing the logarithms of points of I
• , an interval containing the logarithms for bases in J

## Description

 i1 : log 10 o1 = 2.30258509299405 o1 : RR (of precision 53) i2 : log_2 10 o2 = 3.32192809488736 o2 : RR (of precision 53) i3 : log_10 2p100 o3 = .301029995663981195213738894725 o3 : RR (of precision 100)

## Ways to use log :

• "log(CC)"
• "log(QQ)"
• "log(QQ,CC)"
• "log(QQ,QQ)"
• "log(QQ,RR)"
• "log(QQ,RRi)"
• "log(QQ,ZZ)"
• "log(RR)"
• "log(RR,CC)"
• "log(RR,QQ)"
• "log(RR,RR)"
• "log(RR,RRi)"
• "log(RR,ZZ)"
• "log(RRi)"
• "log(RRi,QQ)"
• "log(RRi,RR)"
• "log(RRi,RRi)"
• "log(RRi,ZZ)"
• "log(ZZ)"
• "log(ZZ,CC)"
• "log(ZZ,QQ)"
• "log(ZZ,RR)"
• "log(ZZ,RRi)"
• "log(ZZ,ZZ)"

## For the programmer

The object log is .