/** * Run the command * * @return Number */ public function run() { return new AnyNumber(bcsqrt($this->operand->value(), $this->scale->value())); }
/** * Run the command * * @return Number */ public function run() { return new AnyNumber(bcpow($this->left->value(), $this->right->value(), $this->scale->value())); }
/** * Run the command * * @return Number */ public function run() { return new AnyNumber(bcmod($this->operand->value(), $this->modulus->value())); }