Content


NTL
Core
CFunctionSqrt

CFunctionSqrt


Class provides implementation of the sqrt(value) function for expressions which returns square root of the operand. 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 CFunctionSqrt :public CFunction
{
public:
    // IFunction methods 
    bool Run() override;

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