Libraries tagged by arbitrary precision
brick/math
536012627 Downloads
Arbitrary-precision arithmetic library
prestashop/decimal
8709602 Downloads
Object-oriented wrapper/shim for BC Math PHP extension. Allows for arbitrary-precision math operations.
php-decimal/php-decimal
1069395 Downloads
Correctly-rounded arbitrary precision decimal floating point
krowinski/bcmath-extended
1111196 Downloads
Extends php BCMath lib for missing functions like floor, ceil, round, abs, min, max, rand for big numbers. Also wraps existing BCMath functions. (more http://php.net/manual/en/book.bc.php) Supports scientific notations
pear/math_biginteger
2909199 Downloads
Pure-PHP arbitrary precission integer arithmetic library. If GMP or BCMath are available they are used.
ionux/phactor
84022 Downloads
Phactor is a high-performance PHP implementation of the elliptic curve math functions required to generate & verify private/public (asymmetric) EC keypairs and ECDSA signatures based on secp256k1 curve parameters. This library also includes a class to generate Service Identification Numbers (SINs) based on the published Identity Protocol v1 spec.
rtlopez/decimal
270949 Downloads
An object oriented immutable arbitrary-precision arithmetic library for PHP
php-decimal/ext-decimal
454 Downloads
Correctly-rounded, arbitrary precision decimal floating-point arithmetic in PHP
ikr/money-math
15807 Downloads
gmp-based arbitrary precision operations on currency amounts "XXX.YY"; because floats are BAD for representing money
superbalist/php-money
60402 Downloads
A money and currency library for handling arbitrary-precision arithmetic
yuwuhsien/laravel-bcmath-cast
2282 Downloads
Laravel Eloquent casts for PHP 8.4's BCMath\Number object API, enabling natural operator-based arithmetic on model attributes while maintaining arbitrary precision decimal accuracy.
utecca/number
9276 Downloads
A package for working with arbitrary precision numbers in Laravel.
ocubom/base-convert
12645 Downloads
Safe number conversion between arbitrary bases.
cline/math
2341 Downloads
Arbitrary-precision arithmetic library
aza/math
22272 Downloads
AzaMath - Anizoptera CMF mathematic component. Arbitrary precision arithmetic (for huge integers; BCMath wrapper) and universal convertor between positional numeral systems (supported bases from 2 to 62 inclusive, and systems with custom alphabet; pure PHP realisation, can use GMP and core PHP functions for speed optimization).