2017 © Pedro Peláez
 

library bigmath

Easily work with big numbers with late static binding and chaining.

image

zae/bigmath

Easily work with big numbers with late static binding and chaining.

  • Sunday, August 24, 2014
  • by Zae
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Zae\BigMath

Easily work with big numbers with late static binding and chaining., (*1)

Adapters

Supports multiple adapters, like bcmath and gmp., (*2)

Late static binding

No need to create a new object, simply call the first function statically., (*3)

BigMath::Add("10");

Chaining

Because the functions always return a new BigMath object, the function calls can be chained together., (*4)

BigMath::Add("10")->Sub("5")->Mul("2");

Decimals

The default of the class is to use decimal numbers, if these are not required they can be disabled, this could enable adapters that can't handle decimal numbers, like GMP., (*5)

MIT

MIT Licensed, (*6)

The Versions

24/08 2014

dev-master

9999999-dev

Easily work with big numbers with late static binding and chaining.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Ezra Pool

math number gmp precision bcmath