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