From 22ed7f473a5c1e1db722286f98b2457a74cc1ca7 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 4 Mar 2014 23:54:02 -0800 Subject: * arith.c (logten): New function. * eval.c (eval_init): logten registered as intrinsic. * lib.h (logten): Declared. * txr.1: Documented. --- txr.1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'txr.1') diff --git a/txr.1 b/txr.1 index 22f99f62..deff8d86 100644 --- a/txr.1 +++ b/txr.1 @@ -9778,13 +9778,14 @@ functions. The argument to asin and acos must be in the range -1.0 to 1.0. The atan2 function converts the rectilinear coordinates and to an angle in polar coordinates in the range [0, 2pi). -.SS Functions log, exp +.SS Functions exp, log, log10 .TP Syntax: (exp ) (log ) + (log10 ) .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 -- cgit v1.2.3