Mon, 20 May 2024 10:15:22 UTC | login

Information for RPM stb_sprintf-devel-1.10^20220908git8b5f1f3-0.4.0.riscv64.fc37.riscv64.rpm

ID846832
Namestb_sprintf-devel
Version1.10^20220908git8b5f1f3
Release0.4.0.riscv64.fc37
Epoch
Archriscv64
SummaryFast sprintf, snprintf for C/C++
DescriptionThis is a full sprintf replacement that supports everything that the C runtime sprintfs support, including float/double, 64-bit integers, hex floats, field parameters (%*.*d stuff), length reads backs, etc. Why would you need this if sprintf already exists? Well, first off, it’s *much* faster (see below). It’s also much smaller than the CRT versions code-space-wise. We’ve also added some simple improvements that are super handy (commas in thousands, callbacks at buffer full, for example). Finally, the format strings for MSVC and GCC differ for 64-bit integers (among other small things), so this lets you use the same format strings in cross platform code. It uses the standard single file trick of being both the header file and the source itself. If you just include it normally, you just get the header file function definitions. To get the code, you include it from a C or C++ file and define STB_SPRINTF_IMPLEMENTATION first. It only uses va_args macros from the C runtime to do its work. It does cast doubles to S64s and shifts and divides U64s, which does drag in CRT code on most platforms. It compiles to roughly 8K with float support, and 4K without. As a comparison, when using MSVC static libs, calling sprintf drags in 16K.
Build Time2022-10-18 14:14:47 GMT
Size24.33 KB
1aa187d555987917e9dd7a728e413e91
LicenseMIT OR Unlicense
Buildrootf37-build-653308-72777
Provides
stb_sprintf-devel = 1.10^20220908git8b5f1f3-0.4.0.riscv64.fc37
stb_sprintf-devel(riscv-64) = 1.10^20220908git8b5f1f3-0.4.0.riscv64.fc37
stb_sprintf-static = 1.10^20220908git8b5f1f3-0.4.0.riscv64.fc37
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
rpmlib(CaretInVersions) <= 4.15.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
Recommends No Recommends
Suggests No Suggests
Supplements No Supplements
Enhances No Enhances
Files
1 through 5 of 5
Name ascending sort Size
/usr/include/stb0.00 B
/usr/include/stb/stb_sprintf.h56.92 KB
/usr/include/stb_sprintf.h17.00 B
/usr/share/licenses/stb_sprintf-devel0.00 B
/usr/share/licenses/stb_sprintf-devel/LICENSE2.45 KB
Component of No Buildroots