00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00016 interface BigInteger extends Stringable
00017 {
00021 public static function getFactory();
00022
00026 public function add(BigInteger $x);
00027
00028 public function compareTo(BigInteger $x);
00029
00033 public function mod(BigInteger $mod);
00034
00038 public function pow(BigInteger $exp);
00039
00043 public function modPow(BigInteger $exp, BigInteger $mod);
00044
00048 public function subtract(BigInteger $x);
00049
00053 public function mul(BigInteger $x);
00054
00058 public function div(BigInteger $x);
00059
00063 public function toBinary();
00064
00065 public function intValue();
00066 public function floatValue();
00067 }
00068 ?>