コード例 #1
0
ファイル: BigRational.php プロジェクト: dmitrymomot/math
 /**
  * Returns the negated value of this BigRational.
  *
  * @return BigRational
  */
 public function negated()
 {
     return new BigRational($this->numerator->negated(), $this->denominator, false);
 }