Content


NTL
Core
CFunctionDim

CFunctionDim


Class provides implementation of the dim(x, y) function for expressions which returns positive difference of two floating point values. 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 CFunctionDim :public CFunction
{
public:
    // IFunction methods 
    bool Run() override;

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