This class implements std::ldexp(x, y)
function which can be used in ICalculator to calculate multiplication of the first argument by integer power of two specified in second argument.
You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.
class CProcedureLdexp :public CProcedure
{
public:
CVariable *Calculate(CVariable *parent, CVariable *args) override;
CProcedureLdexp();
};
Namespace: | nitisa::scripting |
Include: | Nitisa/Modules/Scripting/Procedures.h |