mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
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:
@@ -545,3 +545,8 @@ E_HM2H2 Invalid rounding arg 4 for hm2h
|
||||
E_LOG2_1 Bad epsilon argument for log2
|
||||
E_LOG2_2 Non-numeric first argument for log2
|
||||
E_LOG2_3 Cannot calculate log2 for this value
|
||||
E_LOGN_1 Bad epsilon argument for logn
|
||||
E_LOGN_2 Non-numeric first argument for logn
|
||||
E_LOGN_3 Cannot calculate logn for this value
|
||||
E_LOGN_4 Cannot calculate logn for this log base
|
||||
E_LOGN_5 Non-numeric second argument for logn
|
||||
|
Reference in New Issue
Block a user