LOG: logarithm, optional 2nd argument is base (f)
⇒Home
⇒Contents
⇒more on Numerics
(⇒Optional Keywords Syntax)
⇒ Example of a LOG call in "Non-decimal_radices/Convert" (RosettaCode)
Bookmarks:
⇒base b logarithm
⇒natural logarithm
result = LOG ( x )
computes the
natural logarithm
(base e) of x, e.g.:
y = LOG( 10 )
! y is set to 2.302585093
result = LOG ( x , b)
computes the
base b logarithm
of x, e.g.:
y = LOG( 100, 10 )
! y is set to 2
the inverse function to LOG is
EXP
, e.g.
x = EXP( 2.302585093 )
! x is set to 10
the inverse function to LOG(x, base) is base**x (or base^x), e.g.
x = 10**2
! x is set to 100
How your donation will be used, and how to get a HicEst key code in return
©2000-2010 Georg Petrich, HicEst Instant Prototype Computing. All rights reserved.
Impressum