Lines Matching refs:base
6 * Supports base-2, base-10, base-16, and base-256 numbers. Uses the GMP or BCMath extensions, if available,
34 * Pure-PHP arbitrary precision integer arithmetic library. Supports base-2, base-10, base-16, and base-256
160 * Converts base-2, base-10, base-16, and binary strings (base-256) to BigIntegers.
162 * If the second parameter - $base - is negative, then it will be assumed that the number's are encoded using
165 * @param string|int|BigInteger\Engines\Engine $x Base-10 number or base-$base number if $base set.
166 * @param int $base
168 public function __construct($x = 0, $base = 10)
178 $this->value = new self::$mainEngine($x, $base);
183 * Converts a BigInteger to a base-10 number.
211 * Converts a BigInteger to a byte string (eg. base-256).
222 * Converts a BigInteger to a hex string (eg. base-16).
233 * Converts a BigInteger to a bit string (eg. base-2).