diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-03-04 23:54:02 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-03-04 23:54:02 -0800 |
commit | 22ed7f473a5c1e1db722286f98b2457a74cc1ca7 (patch) | |
tree | 203257c74c2b30f1aaa11afc51f28d1d55f80755 /txr.1 | |
parent | 039e2ebdfa5670de7a35084fd480fe204afbdc8b (diff) | |
download | txr-22ed7f473a5c1e1db722286f98b2457a74cc1ca7.tar.gz txr-22ed7f473a5c1e1db722286f98b2457a74cc1ca7.tar.bz2 txr-22ed7f473a5c1e1db722286f98b2457a74cc1ca7.zip |
* arith.c (logten): New function.
* eval.c (eval_init): logten registered as intrinsic.
* lib.h (logten): Declared.
* txr.1: Documented.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -9778,13 +9778,14 @@ functions. The <num> argument to asin and acos must be in the range -1.0 to 1.0. The atan2 function converts the rectilinear coordinates <x> and <y> to an angle in polar coordinates in the range [0, 2pi). -.SS Functions log, exp +.SS Functions exp, log, log10 .TP Syntax: (exp <number>) (log <number>) + (log10 <number>) .TP Description: @@ -9795,6 +9796,9 @@ the specified exponent. The log function calculates the base e logarithm of its argument, which must be a positive value. +The log10 function calculates the base 10 logarithm of its argument, which must +be a positive value. + Integer arguments are converted to floats. .SS Functions expt, sqrt, isqrt |