stb_divide-devel - More useful 32-bit modulus e.g. “Euclidean divide”
| Website: | https://github.com/nothings/stb | 
|---|---|
| License: | MIT OR Unlicense | 
| Vendor: | Alcance Libre, Inc. | 
- Description:
- 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
Packages
| stb_divide-devel-0.9420240213gitae721c5-1.aldos.i686 [9 KiB] | Changelog
              by Joel Barrios (2024-05-12): - Update to 20240213. |