fxdiv 0.0-1.63058ef
C++ 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.
- Outputs:
out
- Website: https://github.com/Maratyszcza/FXdiv
- Licenses: Expat
- Package source: gnu/packages/maths.scm
- Builds: See build status
- Issues: See known issues
Installation
Install fxdiv 0.0-1.63058ef
as follows:
guix install fxdiv@0.0-1.63058ef
Or install the latest version:
guix install fxdiv
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell
documentation for more information.