clValue::Log2 Method

TOpenCLValue *Log2(TOpenCLValue *X) const;

Log base 2.

#NameTypeDescription
1XTOpenCLValue *
Remarks:

Calculate the log base 2 of X.

Examples
#include "clMtxExpr.h"

using namespace Dew;
using namespace Dew::Math;

void Example()
{
    clValue a, b;

    b.Copy(8);
    a.Log2(b);
}
See Also: clValue::Exp2
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler