All Projects → phpmath → biginteger

phpmath / biginteger

Licence: MIT License
A PHP library to work with big integers.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to biginteger

Mathematics for Machine Learning
Learn mathematics behind machine learning and explore different mathematics in machine learning.
Stars: ✭ 28 (+47.37%)
Mutual labels:  math, mathematics
Swift-MathEagle
A general math framework to make using math easy. Currently supports function solving and optimisation, matrix and vector algebra, complex numbers, big int, big frac, big rational, graphs and general handy extensions and functions.
Stars: ✭ 41 (+115.79%)
Mutual labels:  mathematics, biginteger
Mathos-Project
The Mathos Core Library
Stars: ✭ 22 (+15.79%)
Mutual labels:  math, mathematics
Oscar.jl
A comprehensive open source computer algebra system for computations in algebra, geometry, and number theory.
Stars: ✭ 182 (+857.89%)
Mutual labels:  math, mathematics
Program-Matematika
Program Matematika adalah sebuah repository GitHub yang berisi program yang dapat memudahkan para pelajar atau guru dalam menyelesaikan masalah Matematika dengan Terminal
Stars: ✭ 15 (-21.05%)
Mutual labels:  math, mathematics
Tau.jl
A Julia module providing the definition of the circle constant Tau (2π)
Stars: ✭ 33 (+73.68%)
Mutual labels:  math, mathematics
graphest
A faithful graphing calculator
Stars: ✭ 42 (+121.05%)
Mutual labels:  math, mathematics
noteworthy
Markdown editor with bidirectional links and excellent math support, powered by ProseMirror. (In Development!)
Stars: ✭ 178 (+836.84%)
Mutual labels:  math, mathematics
mish
A no-std libm implementation in Rust
Stars: ✭ 14 (-26.32%)
Mutual labels:  math, mathematics
string-math
Evaluates a math expression from a string. Supports variables and custom operators.
Stars: ✭ 14 (-26.32%)
Mutual labels:  math, mathematics
autodiff
A .NET library that provides fast, accurate and automatic differentiation (computes derivative / gradient) of mathematical functions.
Stars: ✭ 69 (+263.16%)
Mutual labels:  math, mathematics
math eval
✖️➕➖➗ `math_eval` safely evaluates mathematical expressions
Stars: ✭ 33 (+73.68%)
Mutual labels:  math, mathematics
Linear-Algebra-and-Its-Applications-notes
《线性代数及其应用》笔记
Stars: ✭ 196 (+931.58%)
Mutual labels:  math, mathematics
codex
A repository of mathematical knowledge written in the MathLingua language.
Stars: ✭ 17 (-10.53%)
Mutual labels:  math, mathematics
Fourier-and-Images
Fourier and Images
Stars: ✭ 81 (+326.32%)
Mutual labels:  math, mathematics
pyrgg
🔧 Python Random Graph Generator
Stars: ✭ 158 (+731.58%)
Mutual labels:  math, mathematics
mml-book-chinese
mml-book-chinese《Mathematics For Machine Learning》机器学习中的数学 中文版
Stars: ✭ 113 (+494.74%)
Mutual labels:  math, mathematics
speedy-math
An application which allows user (small kids) to practice basic Mathematics operations
Stars: ✭ 28 (+47.37%)
Mutual labels:  math, mathematics
tukey
Mini stats toolkit for Clojure/Script
Stars: ✭ 17 (-10.53%)
Mutual labels:  math, mathematics
maths-for-deep-learning-ai
A open source book covering the foundational maths of deep learning and machine learning using TensorFlow
Stars: ✭ 35 (+84.21%)
Mutual labels:  math, mathematics

biginteger

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

A PHP library to work with big integers. This library makes use of the GMP extension to do its calculations.

Install

Via Composer

$ composer require phpmath/biginteger

Usage

use PHP\Math\BigInteger\BigInteger;
$number = new BigInteger('8273467836243255543265432745');

Features

This library supports the following operations:

  • Basic operations such as add, divide, multiply and subtract.
  • Performing modulo operations.
  • Calculate the square root and power of values.
  • Negate numbers
  • Make numbers absolute.
  • Compare numbers

Beside these operations it's also possible to make the object mutable or immutable. Performing operations on an immutable number results in the function returning a new instance.

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please create an issue in the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].