-
The [mp++](https://github.com/bluescarni/mppp) library is considered by many to be the state of the art for performant multiprecision integer arithmetic and underlies the [symengine](https://github.co…
-
See [Faster remainders when the divisor is a constant: beating compilers and libdivide](https://lemire.me/blog/2019/02/08/faster-remainders-when-the-divisor-is-a-constant-beating-compilers-and-libdivi…
-
-
| | |
| --- | --- |
| Bugzilla Link | [52402](https://llvm.org/bz52402) |
| Version | trunk |
| OS | All |
| CC | @anton-afanasyev,@RKSimon |
## Extended Description
Forking this off from …
-
In Binstring worden div en mod gebruikt dat moet denk ik / en modBy zijn?
-
With `PointedGrid[T](pt: (Int, Int), grid: Vector[Vector[Int]])`, we have an `extract` method which uses modular arithmetic to wrap the grid, so that you never access values outside the grid. How do y…
-
The behaviour of `div` and `mod` is currently inconsistent with the respective operators for `int`s. For example:
```nim
import bigints
func divmod(a, b: int): tuple[q, r: int] =
(q: a div b…
-
# Addition of a correct modulus operator
The current remainder operator `%` can be surprising in that the sign of the result follows the sign of the dividend, so does not output periodic results fo…
-
Hi Marco,
Thank you for your great work on PHYSICAL-QUANTITIES! I've been using this for some experiments in electronics CAD and it's been wonderful being able to preserve units and uncertainties f…
-
### Background and motivation
`System.Numerics` and the interface operators feature has allowed us to generic-ize over arbitrary numerical types, to use operators and functions such as `+` `*` `Zer…