Libraries tagged by arithmetic
brick/math
561535410 Downloads
Arbitrary-precision arithmetic library
rubix/tensor
1636852 Downloads
A library and extension that provides objects for scientific computing in PHP.
powder96/numbers.php
50285 Downloads
Advanced Mathematics Library for PHP (port of Numbers.js)
pear/math_biginteger
2993836 Downloads
Pure-PHP arbitrary precission integer arithmetic library. If GMP or BCMath are available they are used.
rtlopez/decimal
278897 Downloads
An object oriented immutable arbitrary-precision arithmetic library for PHP
php-decimal/ext-decimal
1391 Downloads
Correctly-rounded, arbitrary precision decimal floating-point arithmetic in PHP
prinsfrank/arithmetic-operations-implementation
Downloads
ikr/money-math
16240 Downloads
gmp-based arbitrary precision operations on currency amounts "XXX.YY"; because floats are BAD for representing money
arokettu/unsigned
453417 Downloads
Fixed length unsigned arithmetic emulation
kyos/find-closest-value
332844 Downloads
Finds the closest arithmetic match in an array, using Binary Search
superbalist/php-money
61720 Downloads
A money and currency library for handling arbitrary-precision arithmetic
arokettu/arithmetic-parser
10948 Downloads
Configurable arithmetic parser and interpreter
cline/numerus
6667 Downloads
Immutable numeric value object with chainable arithmetic operations and Laravel Number formatting
aza/math
22540 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).
yuwuhsien/laravel-bcmath-cast
3196 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.