More useful 32-bit modulus e.g. “Euclidean divide”
This file provides three different consistent divide/mod pairs implemented on top of arbitrary C/C++ division, including correct handling of overflow of intermediate calculations: trunc: a/b truncates to 0, a%b has same sign as a floor: a/b truncates to -inf, a%b has same sign as b eucl: a/b truncates to sign(b)*inf, a%b is non-negative
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 0.94^20230129git5736b15-0.7.fc39 | - |
Fedora 39 | 0.94^20230129git5736b15-0.7.fc39 | - |
Fedora 38 | 0.94^20230129git5736b15-0.2.fc38 | 0.94^20230129git5736b15-0.2.fc38 |
Fedora 37 | 0.94^20230129git5736b15-0.2.fc37 | - |
EPEL 9 | 0.94^20230129git5736b15-0.2.el9 | - |
EPEL 8 | 0.94-0.24.20230129git5736b15.el8 | - |
EPEL 7 | 0.94-0.24.20230129git5736b15.el7 | - |
You can contact the maintainers of this package via email at
stb dash maintainers at fedoraproject dot org
.