Content


NTL
Core
CFunctionLdExp

CFunctionLdExp


Class provides implementation of the ldexp(x, exp) function for expressions which multiplies a number by 2 raised to a power. It is being used by expression runners.

The result is a float number.

You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.

class CFunctionLdExp :public CFunction
{
public:
    // IFunction methods 
    bool Run() override;

    CFunctionLdExp(IErrorListener *error_listener, IFunction *operand1, IFunction *operand2);
};
Namespace: nitisa::script
Include: Nitisa/Modules/Script/Functions/Mathematics/FunctionLdExp.h