atrophy: Faster integer division and modulus operations

[ library, math, mit ] [ Propose Tags ]

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

Maintainer's Corner

Package maintainers

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 76 total (8 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]