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