mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
add log2(x [,eps]) builtin function
Added log2(x [,eps]) builtin function. When x is an integer power of 2, log2(x) will return an integer, otherwise it will return the equivalent of ln(x)/ln(2).
This commit is contained in:
4
CHANGES
4
CHANGES
@@ -80,6 +80,10 @@ The following are the changes from calc version 2.14.3.5 to date:
|
||||
comments in "README.RELEASE", which serves as the contents
|
||||
of the calc command "help release".
|
||||
|
||||
Added log2(x [,eps]) builtin function. When x is an integer
|
||||
power of 2, log2(x) will return an integer, otherwise it will
|
||||
return the equivalent of ln(x)/ln(2).
|
||||
|
||||
|
||||
The following are the changes from calc version 2.14.3.4 to 2.14.3.5:
|
||||
|
||||
|
Reference in New Issue
Block a user