Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 516 Bytes


The class Math_Integer can represent integers bigger than the signed longs that are the default of PHP, if either the GMP or the BCMATH (bundled with PHP) are present. Otherwise it will fall back to the internal integer representation.

The Math_IntegerOp class defines operations on Math_Integer objects.

This is old code I wrote for PEAR. Originally it was tracked in CVS, then it was moved to SVN, and now I am importing it to git :-)

-- Jesus M. Castagnetto

Jump to Line
Something went wrong with that request. Please try again.