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

fxdiv

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 the latest version of fxdiv as follows:

guix install fxdiv

Or install a particular version:

guix install fxdiv@0.0-1.63058ef

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.

Badge code

You can use the following badge to inform users of fxdiv about the latest version available in Guix.

Example HTML:

<a href='https://packages.guix.gnu.org/packages/fxdiv'><img src='https://packages.guix.gnu.org/packages/fxdiv/badges/latest-version.svg' alt='Version in GNU Guix'></a>

Example Markdown:

[![Version in GNU Guix](https://packages.guix.gnu.org/packages/fxdiv/badges/latest-version.svg)](https://packages.guix.gnu.org/packages/fxdiv)

Example Org:

[[https://packages.guix.gnu.org/packages/fxdiv][https://packages.guix.gnu.org/packages/fxdiv/badges/latest-version.svg]]