Libraries tagged by arithmetic
prinsfrank/arithmetic-operations-floating-point
12235 Downloads
Floating point math implementation for the prinsfrank/arithmetic-operations interface that provides basic arithmetic operations (addition, subtraction, power, dividing, etc...)
prinsfrank/arithmetic-operations
12270 Downloads
Interface for arithmetic operations implementation (addition, subtraction, power, dividing, etc...)
tiny-blocks/math
22705 Downloads
Arbitrary-precision numbers for PHP, where arithmetic is exact and rounding is explicit.
ikr/money-math
16256 Downloads
gmp-based arbitrary precision operations on currency amounts "XXX.YY"; because floats are BAD for representing money
scienide/tensor
10020 Downloads
A library and extension that provides objects for scientific computing in PHP.
openbuildings/jam-monetary
170370 Downloads
A Jam Field to transparently use 'monetary' as a jam field, and have currency exchange arithmetic out of the box
nathanjel/sel-lang
34 Downloads
A small expression language for validation rules — one rule file evaluates identically on PHP, JavaScript, Python, C++23 and Common Lisp. Exact decimal arithmetic, no floating point, no truthiness.
ez-php/bignum
169 Downloads
Arbitrary-precision integer and decimal arithmetic for the ez-php ecosystem — immutable BigInteger and BigDecimal value objects backed by bcmath (gmp optional)
codryn/phpcalendar
341 Downloads
Configurable calendar system supporting real-world and fantasy calendars with date parsing, formatting, and temporal arithmetic
amashukov/secp256k1-php
844 Downloads
secp256k1 elliptic-curve arithmetic + RFC 6979 deterministic ECDSA sign / verify / recover in pure PHP on ext-gmp.
ls-a/arithmetic-ast
91 Downloads
Implements the Shunting Yard Algorithm and creates an Abstract Syntax Tree with arithmetic operations
marcoconsiglio/modular-arithmetic
218 Downloads
A PHP libarary to support modular arithmetic, aka clock arithmetic.
tetthys/bc
56 Downloads
Bc is a small and simple but accurate tool for calculation.
piggly/php-decimal
243 Downloads
An arbitrary-precision Decimal class type for PHP.
phpcommon/intmath
220 Downloads
A library for arithmetic operations on integers that wraps around upon overflow.