GitHunt

math

Math library written in C++.

It implements mathematical constructs, such as

  • Greatest Common Divisor
  • Least Common Multiple
  • Logarithms (log 10, log 2, ln)
  • Modulus
  • Exponentiation
  • Euler's totient/phi function
  • Sieve of Eratosthenes
  • Carmichael number test
  • Pollard Rho
  • Pollard P-1
  • B-Smoothness test
  • Square-free test

Languages

C96.6%C++3.0%CMake0.4%

Contributors

MIT License
Created October 4, 2015
Updated April 10, 2024