Search results
15 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Use round, rem and mod functions in CSS
Compute `x - nπ/2 = r`.
Hare-Niemeyer aka. Hamilton or largest remainder method for seat distribution used in multiple parliamentary elections all over the world
- distribution
- election
- hamilton
- hare
- hare-niemeyer
- largest
- niemeyer
- proportional
- remainder
- representation
- seats
- votes
- voting
modulo of a number and a divisor
Modulo operator for numbers
Create an iterator which performs an element-wise modulo operation of two or more iterators.
Divide a number and get a quotient and remainder.
A robust modular arithmetic utility for JavaScript, handling both positive and negative integers with ease. Ensure consistent, non-negative results for your modulo operations. Perfect for mathematical computations, circular buffer implementations, and mor
- modular
- arithmetic
- modulo
- remainder
- math
- integer
- operations
- number
- theory
- positive
- integers
- negative
- npm
- JavaScript
- View more
Collection of apportionment methods.
- apportionment
- math
- fair distribution
- remainder
- voting
- proportional representation
- Hamilton
- Vinton
- Hare-Niemeyer
- Largest Remainder
- Jefferson
- D'Hondt
- Adams
- Webster
Represent dates as tiny numbers, losing precision, for compact storage.
"
Alerts the remainder of a given number
chunk store for append-only byte-aligned data
Simple modules for functional programming, done for fun.