BigInteger.class.php

Go to the documentation of this file.
00001 <?php
00002 /***************************************************************************
00003  *   Copyright (C) 2007 by Anton E. Lebedevich                             *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU Lesser General Public License as        *
00007  *   published by the Free Software Foundation; either version 3 of the    *
00008  *   License, or (at your option) any later version.                       *
00009  *                                                                         *
00010  ***************************************************************************/
00011 /* $Id: BigInteger.class.php 4687 2007-12-09 18:57:18Z voxus $ */
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 ?>

Generated on Sun Dec 9 21:56:24 2007 for onPHP by  doxygen 1.5.4