Content


NTL
Core
CFunctionMod

CFunctionMod


Class provides implementation of the mod(x, y) function for expressions which returns remainder of the floating point division operation on the operands. 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 CFunctionMod :public CFunction
{
public:
    // IFunction methods 
    bool Run() override;

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