clValue::Exp2 Method

TOpenCLValue *Exp2(TOpenCLValue *X) const;

Exponent base 2 (2^X).

#NameTypeDescription
1XTOpenCLValue *
Remarks:

Calculate the exponent base 2 (2^X).

Examples
#include "clMtxExpr.h"

using namespace Dew;
using namespace Dew::Math;

void Example()
{
    clValue a, b;

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