Content


NTL
Core
CFunctionPi

CFunctionPi


Class provides implementation of the pi() function which return π value. It is being used by expression runners.

The result is a floating point number.

You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.

class CFunctionPi :public virtual CFunction
{
public:
    // IFunction methods 
    bool Run() override;

    CFunctionPi(IErrorListener *error_listener);
};
Namespace: nitisa::script
Include: Nitisa/Modules/Script/Functions/General/FunctionPi.h