Letter S

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.9420230129git5736b15-1.aldos.i686 [9 KiB] Changelog by Joel Barrios (2023-08-03):
- Update to latest commit.

Listing created by Repoview-0.6.6-6.fc14.al