Skip to content

nullgemm/mpiric

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

Mpiric maths

This repository was created to collect the best portable fast math functions on the internet. Because its goal is to provide portable approximations, you won't find SIMD-based algorithms here.

Currently most of the code here comes from pt_math. Another important source is the hacker's delight website.

Testing

You can easily make a testing executable which will generate svg graphics with charter and write some basic benchmarking logs. A copy of the resulting files can be found in the res folder, but if you choose to re-generate them they will be written in bin.

The makefile includes the following targets

  • bin/mpiric (phony): makes the testing executable
  • bin/charter_svg: makes the charter svg graph generator
  • run: runs the executable to generate svg graphs and write benchmarking logs
  • svg: copies the svg files in the res folder

Github seems to break svg files rendering, please open them independently in your browser by right-clicking on them and choosing "view image".

Using

To clone this repository use the following command

make github

License

Everything here is public domain work, except of course the charter submodule used to generate graphs.

About

portable, fast, approximate math functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published