This package browser is in early development. Mind the rough edges.

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.

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.