@hackage / atrophy

Faster integer division and modulus operations

Latest0.1.0.0

About

Metadata

  • Last updated , by goolord
  • License MIT
  • Categories Mathematics
  • Maintained by: Zachary Churchill <zacharyachurchill@gmail.com>

  • Lottery factor: 0

Links

Installation

Readme

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.