0 if leftOperand is greater than rightOperand, and 0 if they are equal. * * @param string $leftOperand * @param string $rightOperand * @return int */ public function comp($leftOperand, $rightOperand); /** * Convert big integer into it's binary number representation * * @param string $int * @param bool $twoc * @return string */ public function intToBin($int, $twoc = false); /** * Convert binary number into big integer * * @param string $bytes * @param bool $twoc * @return string */ public function binToInt($bytes, $twoc = false); /** * Convert a number between arbitrary bases * * @param string $operand * @param int $fromBase * @param int $toBase * @return string */ public function baseConvert($operand, $fromBase, $toBase = 10); }