Overview

Namespaces

  • PhpCommon
    • IntMath

Classes

  • IntMath

Exceptions

  • ArithmeticException
  • DivisionByZeroException
  • Overview
  • Namespace
  • Class

Namespace PhpCommon\IntMath

Classes summary
IntMath

Utility class for arithmetic operations on integers that wraps around upon overflow.

Exceptions summary
ArithmeticException Thrown when an error occurs while performing mathematical operations.
DivisionByZeroException Thrown when an attempt is made to divide a number by zero.
PHPCommon IntMah API API documentation generated by ApiGen