Skip to content

klim0v/math.func

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

math.func

math.func is a math library that extends FunC's arithmetic operations.

Usage

() main(){
    int n1 = exp(2); ;; or 2.exp()
    n1~dump(); ;; 4

    int n2 = sqrt(36); ;; or 36.exp()
    n2~dump(); ;; 6
}

Functions

  • (int) sqrt(int x)
  • (int) avg(int x, int y)
  • (int) exp(int x)
  • (int) log2(int x)
  • (int) mod (int x, int y)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors