Content


NTL
Core
CFunctionExp2

CFunctionExp2


Class provides implementation of the exp2(value) function for expressions which returns 2 raised to a given 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 CFunctionExp2 :public CFunction
{
public:
    // IFunction methods 
    bool Run() override;

    CFunctionExp2(IErrorListener *error_listener, IFunction *operand);
};
Namespace: nitisa::script
Include: Nitisa/Modules/Script/Functions/Mathematics/FunctionExp2.h