Name: | stb_divide-devel |
---|---|
Version: | 0.94 |
Release: | 0.48.20240531git013ac3b.el7 |
Architecture: | x86_64 |
Group: | Unspecified |
Size: | 17026 |
License: | MIT OR Unlicense |
RPM: | stb_divide-devel-0.94-0.48.20240531git013ac3b.el7.x86_64.rpm |
Source RPM: | stb-0-0.48.20240531git013ac3b.el7.src.rpm |
Build Date: | Mon Jun 10 2024 |
Build Host: | build-ol7-x86_64.oracle.com |
Vendor: | Oracle America |
URL: | https://github.com/nothings/stb |
Summary: | More useful 32-bit modulus e.g. “Euclidean divide” |
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 |