DXNInteger.php
Table of Contents
Classes
- DXNInteger
- An arbitrary-precision integer, backed by `bcmath` (no `ext-gmp`
assumed available) -- only ever constructed for a magnitude outside
`PHP_INT_MIN..PHP_INT_MAX`. {@see DXNInteger::represent()} is the
canonical entry point embodying the project's hybrid integer rule:
a value that fits stays a native `int` everywhere (ordinary `+`,
`-`, comparisons just work); only genuine overflow reaches this
class, whose own arithmetic is method calls, not operators -- PHP
has no operator overloading for arithmetic.