add logn and error checking for invalue eps and epsilon values

Add new logn(x, n [,eps]) builtin to compute logarithms to base n.

Verify that eps arguments (error tolerance arguments that override
the default epsilon value) to builtin functions have proper values.
Previously the eps argument had little to no value checks for
many builtin functions.

Document in help files for builtin functions that take eps arguments,
the LIMIT range for such eps values.
This commit is contained in:
Landon Curt Noll
2023-08-31 22:33:41 -07:00
parent 4787199462
commit 1c839dfede
55 changed files with 1092 additions and 199 deletions

View File

@@ -6,7 +6,7 @@ SYNOPSIS
TYPES
x nonzero real
eps nonzero real, defaults to epsilon()
eps 0 < real < 1, defaults to epsilon()
return real
@@ -21,7 +21,7 @@ EXAMPLE
1.31304 1.3130352855 1.313035285499331 1.31303528549933130364
LIMITS
none
0 < eps < 1
LINK LIBRARY
NUMBER *qcoth(NUMBER *x, NUMBER *eps)
@@ -29,7 +29,7 @@ LINK LIBRARY
SEE ALSO
sinh, cosh, tanh, sech, csch, epsilon
## Copyright (C) 1999 Landon Curt Noll
## Copyright (C) 1999,2023 Landon Curt Noll
##
## Calc is open software; you can redistribute it and/or modify it under
## the terms of the version 2.1 of the GNU Lesser General Public License