Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
logarithm to the base of 2 (binary logarithm), base 10 and base n
#4
bplus wrote: 
Quote:Wouldn't it be more efficient to do all other log bases like you did Log2 as it is one less call to User Defined Function. ie 0 calls to user defined function
BaseNLog##(BaseN, a) = Log(a)/Log(BaseN) ' which includes Log2(a)'s which I think is in wiki already
I know this and thats right. In some conditions it would make some math formulas less complicate, if you have some special LOG functions, especially the LOG2 and LOG10.
This also know the creators of other programming languages, i.e. Python.
Reply


Messages In This Thread
RE: logarithm to the base of 2 (binary logarithm), base 10 and base n - by BSpinoza - 10-03-2023, 03:33 AM



Users browsing this thread: 1 Guest(s)