Content


NTL
Core
CFunctionHypot

CFunctionHypot


Class provides implementation of the hypot(x, y) function for expressions which returns square root of the sum of the squares of two given numbers. 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 CFunctionHypot :public CFunction
{
public:
    // IFunction methods 
    bool Run() override;

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