LOGB INDEX

LOGB _ _ _ _ _ _ _ _ _ _ _ _ operator

syntax:

logb(<expression>,<integer>)

<expression> can be any valid scalar REDUCE expression.

The logb operator returns the logarithm of its first argument using the second argument as base. However, unlike log, there are no algebraic rules associated with it; it will only evaluate when rounded is on, and the first argument is a real number .

examples:


logb(x,2); 

  LOGB(X,2) 


logb(4,3); 

  LOGB(4,3) 


logb(2,2); 

  LOGB(2,2) 


df(logb(x,3),x); 

  DF(LOGB(X,3),X) 


on rounded; 

logb(4,3); 

  1.26185950714 


logb(2,2); 

  1