Artifact 2087cda335c41b0812f7efc27839216efc9eb337ea15fef3865162ef84264e32:
- Executable file
r37/lisp/csl/html/r37_0089.html
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 952) [annotate] [blame] [check-ins using] [more...]
<A NAME=LOGB> <TITLE>LOGB</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>LOGB</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> <P> <P> <P> <H3> syntax: </H3> <em>logb</em>(<expression>,<integer>) <P> <P> <P> <expression> can be any valid scalar REDUCE expression. <P> <P> The <em>logb</em> operator returns the logarithm of its first argument using the second argument as base. However, unlike <A HREF=r37_0088.html>log</A>, there are no algebraic rules associated with it; it will only evaluate when <A HREF=r37_0330.html>rounded</A> is on, and the first argument is a real number . <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> 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 </TT></PRE><P>