atrophy: Faster integer division and modulus operations
Fast div/mod via arithmetic strength reduction. Good compilers already perform this optimization for divisors that are known at compile time; this library enables this optimization for divisors that are only known at runtime.
Downloads
- atrophy-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.10.0.0 && <5), contiguous (>=0.6.0.0), wide-word [details] |
| License | MIT |
| Copyright | 2022 Zachary Churchill |
| Author | Zachary Churchill <zacharyachurchill@gmail.com> |
| Maintainer | Zachary Churchill <zacharyachurchill@gmail.com> |
| Category | Math |
| Source repo | head: git clone https://github.com/goolord/atrophy/ |
| Uploaded | by goolord at 2022-08-21T20:51:02Z |
| Distributions | NixOS:0.1.0.0 |
| Downloads | 134 total (2 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2022-08-21 [all 1 reports] |