Skip to content

netromdk/math

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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