Source for file common.php
Documentation is available at common.php
class Math_Integer_Common {/*{{{*/
function Math_Integer_Common ($value) {/*{{{*/
function toString () {/*{{{*/
function makeClone () {/*{{{*/
return new Math_Integer_Common ($this->toString ());
function setValue ($value) {/*{{{*/
function getValue () {/*{{{*/
function negate () {/*{{{*/
return $this->_noImplemented ('negate');
return $this->_noImplemented ('abs');
return $this->_noImplemented ('fact');
function add (&$int) {/*{{{*/
return $this->_noImplemented ('add');
return $this->_noImplemented ('inc');
function sub (&$int) {/*{{{*/
return $this->_noImplemented ('sub');
return $this->_noImplemented ('dec');
function mul (&$int) {/*{{{*/
return $this->_noImplemented ('mul');
function div (&$int) {/*{{{*/
return $this->_noImplemented ('div');
function pow (&$int) {/*{{{*/
return $this->_noImplemented ('pow');
function powmod (&$int) {/*{{{*/
return $this->_noImplemented ('pow');
return $this->_noImplemented ('sqrt');
function mod (&$int) {/*{{{*/
return $this->_noImplemented ('mod');
function compare (&$int) {/*{{{*/
return $this->_noImplemented ('compare');
function sign (&$int) {/*{{{*/
return $this->_noImplemented ('sign');
function &gcd (&$int) {/*{{{*/
return $this->_noImplemented ('gcd');
function isOdd () {/*{{{*/
return $this->_noImplemented ('isOdd');
function isEven () {/*{{{*/
return $this->_noImplemented ('isEven');
function isPositive () {/*{{{*/
return $this->_noImplemented ('isPositive');
function isNegative () {/*{{{*/
return $this->_noImplemented ('isNegative');
function isZero () {/*{{{*/
return $this->_noImplemented ('isZero');
function isPrime ($reps) {/*{{{*/
return $this->_noImplemented ('probPrime');
function _is (&$obj, $classname) {/*{{{*/
return is_a($obj, $classname);
function _notImplemented ($func) {/*{{{*/
return PEAR ::raiseError (" Method $func not implemented" );
Documentation generated on Mon, 11 Mar 2019 15:39:15 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|