pear/math_biginteger

This package is abandoned and no longer maintained. No replacement package was suggested.

Pure-PHP arbitrary precission integer arithmetic library. If GMP or BCMath are available they are used.

Package info

github.com/pear/Math_BigInteger

Issues

pkg:composer/pear/math_biginteger

Statistics

Installs: 2 948 441

Dependents: 30

Suggesters: 1

Stars: 22

v1.0.3 2016-04-12 05:46 UTC

Requires

  • php: >=4.2.0
  • ext-pcre: *

Requires (Dev)

None

Suggests

  • ext-bcmath: Allows using the BCMath extension internally for computation. Faster than native implementation.
  • ext-gmp: Allows using the GNU Multiple Precision extension internally for computation. If you are doing a lot of computation this is the recommended extension.

Provides

None

Conflicts

None

Replaces

None

MIT 33d4357543037a458fad3e8c837a01b93104e592

  • Jim Wigginton <terrafrost.woop@php.net>

gmparbitraryprecisionbcmathinteger

This package is auto-updated.

Last update: 2026-02-01 20:07:51 UTC


README

Pure-PHP arbitrary precision integer arithmetic library.

Supports base-2, base-10, base-16, and base-256 numbers. Uses the GMP or BCMath extensions, if available, and an internal implementation, otherwise.

Installation

PEAR

$ pear install Math_BigInteger

Composer

$ composer require pear/math_biginteger

Usage

See the examples in the demo/ directory.

Links

Homepage
http://pear.php.net/package/Math_BigInteger
Bug tracker
http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Math_BigInteger
Source code
https://github.com/pear/Math_BigInteger