Example #1
0
 public RealNumber pow(Natural p)
 {
     return(System.Math.Pow(this, p));
 }
Example #2
0
 public Natural gcd(Natural n)
 {
     return(val % n.val == 0 ? n : n.gcd(new Natural(val % n.val)));
 }