Ejemplo n.º 1
0
 public function testNegativeOnePower()
 {
     $x = new \MyOddWeb\BigNumber(7);
     $x->Pow(-1, 10);
     //  0.14285714285714285714285714285714
     $z = $x->ToString();
     $this->assertSame("0.1428571428", $z);
 }