diff options
author | Marat Dukhan <maratek@gmail.com> | 2017-03-06 14:12:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-06 14:12:20 -0500 |
commit | ad0abcf4dd0c0a83d7e2e18bcb9917306c850cbc (patch) | |
tree | b6b819eb4b060e20552ea59282759b2e50d761d1 | |
parent | 791777aeccd6b2b8f40154ebd591f0c5d61afb26 (diff) | |
download | FXdiv-ad0abcf4dd0c0a83d7e2e18bcb9917306c850cbc.tar.gz |
README: add license and Travis-CI badges
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,4 +1,9 @@ # FXdiv + +[![BSD (2 clause) License](https://img.shields.io/badge/License-MIT%20License-blue.svg)](https://github.com/Maratyszcza/FXdiv/blob/master/LICENSE) +[![Build Status](https://img.shields.io/travis/Maratyszcza/FXdiv.svg)](https://travis-ci.org/Maratyszcza/FXdiv) + + Header-only library for division via fixed-point multiplication by inverse On modern CPUs and GPUs integer division is several times slower than multiplication. FXdiv implements an algorithm to replace an integer division with a multiplication and two shifts. This algorithm improves performance when an application performs repeated divisions by the same divisor. |