Skip to content

cryphon/mlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MLIB mathslibrary

This project contains headerfiles for mathematical operations

Basic Arithmetic

Addition
Subtraction
Multiplication
Division
Modulo

Algebra

Factorial
Power
Square Root
Logarithms (natural log, log base 10, log base 2)
Exponential Functions
Greatest Common Divisor (GCD)
Least Common Multiple (LCM)
Absolute Value

To build this project, go into build directory, then run these commands

foo@bar:mlib/build$ cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
foo@bar:mlib/build$ make run

About

A minimal C++ math library for algebraic and arithmetic operations. mlib provides efficient implementations for factorial, power functions, square root (Newton-Raphson), logarithms, and number theory utilities like GCD and LCM.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors