whacking1234 / sumlib
There is no license information available for the latest version (v1.0) of this package.
This package implements the function of adding large numbers via custom algorythm
v1.0
2019-02-12 13:22 UTC
Requires
- php: ^7.1
Requires (Dev)
- ext-bcmath: *
- phpunit/phpunit: 5.x
Suggests
- ext-bcmath: For sum function testing
This package is not auto-updated.
Last update: 2024-05-30 14:51:12 UTC
README
Installation
The recommended way to install the library is through Composer:
$ composer require whacking1234/sumlib:@dev
Usage
use function Whacking1234\functions\sum; echo sum('8116789921361823993123', '44181262393');
Tests
To run unit test:
$ phpunit --testsuite Unit
To run all tests:
$ phpunit