Package fxdiv: Information
Source package: fxdiv
Version: 0-alt0.git63058ef
Build time: Jun 2, 2026, 03:58 PM in the task #419834
Category: Development/C
Report package bugHome page: https://github.com/Maratyszcza/FXdiv
License: MIT
Summary: C99/C++ header-only library for division via fixed-point multiplication by inverse
Description:
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. Features * Integer division for uint32_t, uint64_t, and size_t * Header-only library, no installation or build required * Compatible with C99, C++, OpenCL, and CUDA * Uses platform-specific compiler intrinsics for optimal performance * Covered with unit tests and microbenchmarks
Maintainer: Nikita Shmatko
Last changed
June 2, 2026 Nikita Shmatko 1:0-alt0.git63058ef
- Fixed git snapshot versioning to keep future upstream releases upgradeable.
Oct. 13, 2025 Nikita Shmatko 1.0.git63058ef-alt1
- Initial build for Sisyphus.