Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Embedded-OpenSource-Collection
printf
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 17, 2022
Fixes #144, fixes #145: Rearranged system header inclusion in `printf.c` and removes its excessive use of extern "C".
eyalroz
committed
f8ed5a9
View commit details
Copy full SHA for f8ed5a9
Browse repository at this point
Fixes #139, fixes #142: CMake installation fixes and adoption of Craig Scott's `FetchContent`-friendliness approach
eyalroz
committed
00b8319
View commit details
Copy full SHA for 00b8319
Browse repository at this point
Minor local code style and comment tweak, no functionality change.
eyalroz
committed
189b420
View commit details
Copy full SHA for 189b420
Browse repository at this point
Fixes #140, fixes mpaland/printf#139: Support defensive undefined behavior when a format specifier does not end before the string does.
eyalroz
committed
51d4a73
View commit details
Copy full SHA for 51d4a73
Browse repository at this point
Split `vsnprintf_impl()` to use a separate parser-loop-only function.
eyalroz
committed
4a123c0
View commit details
Copy full SHA for 4a123c0
Browse repository at this point
Fixes #141: Standard library function name aliasing now has three options: NONE, SOFT, HARD.
Show description for e1db8c6
eyalroz
committed
e1db8c6
View commit details
Copy full SHA for e1db8c6
Browse repository at this point
README tweaks
eyalroz
committed
ced7254
View commit details
Copy full SHA for ced7254
Browse repository at this point
Fixes #137: Use strict C prototypes
Show description for 2a742c1
eyalroz
committed
2a742c1
View commit details
Copy full SHA for 2a742c1
Browse repository at this point
Fix function declaration isn't a prototype
Show description for a7f0e1c
KarlK90
authored and
eyalroz
committed
a7f0e1c
View commit details
Copy full SHA for a7f0e1c
Browse repository at this point
Regards #123: Suppressing the spurious "uninitialized" warning in older versions of GCC.
eyalroz
committed
77c56db
View commit details
Copy full SHA for 77c56db
Browse repository at this point
Fixes #132: `ssize_t` is already defined in msys2 / mingw, so we shouldn't define it ourselves.
Show description for 9624be7
eyalroz
committed
9624be7
View commit details
Copy full SHA for 9624be7
Browse repository at this point
Fixes #130: Renamed `_vsnprintf` -> `vsnprintf_impl`, to avoid a clash with `stdio.h` in the msys2 environment.
eyalroz
committed
7781442
View commit details
Copy full SHA for 7781442
Browse repository at this point
Commits on Jun 3, 2022
Fixes #129: Using the `gnu_printf` attribute when the compiler supports it, otherwise the `printf` attribute.
Show description for fb264f5
eyalroz
committed
fb264f5
View commit details
Copy full SHA for fb264f5
Browse repository at this point
Commits on May 26, 2022
Removed an invalid comment about `I` from README.md
Show description for 944a344
eyalroz
authored
944a344
View commit details
Copy full SHA for 944a344
Browse repository at this point
Commits on Apr 24, 2022
Spacing unification in the `test_suite_main_testcases.hpp` file (making it easier to leaf through the file).
eyalroz
committed
11b8c62
View commit details
Copy full SHA for 11b8c62
Browse repository at this point
Commits on Apr 23, 2022
Factor some remaining direct use of printing functions out of `test_suite_main_testcases.hpp` using macros from `test_suite.cpp` (and added a missing macro).
eyalroz
committed
96a0de5
View commit details
Copy full SHA for 96a0de5
Browse repository at this point
Commits on Apr 22, 2022
Fixes #126: Corrects a bug introduced in commit 87878b2 for non-GNUC compilers, where macro arguments were mistakenly wrapped in parentheses.
eyalroz
committed
88eba51
View commit details
Copy full SHA for 88eba51
Browse repository at this point
Commits on Mar 4, 2022
Update example for defining the configuration include macro
Show description for c18b05c
phillipjohnston
authored and
eyalroz
committed
c18b05c
View commit details
Copy full SHA for c18b05c
Browse repository at this point
Wrap printf_config.h include in test_suite.cpp with a macro check
Show description for fb06a6b
phillipjohnston
authored and
eyalroz
committed
fb06a6b
View commit details
Copy full SHA for fb06a6b
Browse repository at this point
Update README.md
eyalroz
authored
19a487c
View commit details
Copy full SHA for 19a487c
Browse repository at this point
Commits on Feb 28, 2022
Fixes #121: Now properly accounting for a 2-character prefix for `%#b`, like for `%#x`, when a precision is field width is specified and we are matching it exactly. Also, added some test suite chec…
Show description for 8b831c1
eyalroz
committed
8b831c1
View commit details
Copy full SHA for 8b831c1
Browse repository at this point
Suppressing, but keeping in commented form, the examples of our failing to accurately provide 12 digits of precision in the Boltzmann constant testcase.
eyalroz
committed
6da9ea4
View commit details
Copy full SHA for 6da9ea4
Browse repository at this point
Fixes #122: Now consistently using the `PRINTF_DECIMAL_BUFFER_SIZE` preprocessor define. Also, improved the comment about it.
eyalroz
committed
e75d6a5
View commit details
Copy full SHA for e75d6a5
Browse repository at this point
Test suite tweaks and structural changes, with no functional change:
Show description for ec79a38
eyalroz
committed
ec79a38
View commit details
Copy full SHA for ec79a38
Browse repository at this point
Commits on Feb 21, 2022
Dropped a few redundant lines of code.
eyalroz
committed
ae2632c
View commit details
Copy full SHA for ae2632c
Browse repository at this point
Fixes #114, #115: Better handling of powers near the extrema of the representation range.
Show description for f83521b
eyalroz
committed
f83521b
View commit details
Copy full SHA for f83521b
Browse repository at this point
Using the general-case logic for precision==0 in `get_normalized_components`. Code size win :-)
eyalroz
committed
5d0c680
View commit details
Copy full SHA for 5d0c680
Browse repository at this point
Fixes #113: Making the number of Taylor series terms we use for `log10()` approximation controllable by a CMake option, and changed the default from 2 to 4 (which is the maximum supported at the mo…
Show description for 99aeb57
eyalroz
committed
99aeb57
View commit details
Copy full SHA for 99aeb57
Browse repository at this point
Contribution attribution comment change.
eyalroz
committed
2279a0c
View commit details
Copy full SHA for 2279a0c
Browse repository at this point
* Factored out the code computing a power-of-10 (for the floored base-10 log of the number to print).
Show description for af7780f
eyalroz
committed
af7780f
View commit details
Copy full SHA for af7780f
Browse repository at this point
Factored out the code for computing the base-10 logarithm of the argument's absolute value.
eyalroz
committed
b6101b3
View commit details
Copy full SHA for b6101b3
Browse repository at this point
Renamed `exp10` to better clarify difference between the actual and the floored `exp10`.
eyalroz
committed
998f47a
View commit details
Copy full SHA for 998f47a
Browse repository at this point
Increased visibility of failures within the loops over larger ranges of floating-point values in the test suite.
eyalroz
committed
13cd12c
View commit details
Copy full SHA for 13cd12c
Browse repository at this point
Regards #109: Now correctly rounding down the computed base-10 exponent. CAVEAT: This exposes an issue with printing values having exponent -308 (the minimum exponent for double's); and - we see so…
Show description for bbe442f
eyalroz
committed
bbe442f
View commit details
Copy full SHA for bbe442f
Browse repository at this point
Fixes #111, #112: test suite now includes `printf_config.h` before `printf.c`; and separated cases of what's expected to be printed based on the value of `PRINTF_MAX_INTEGRAL_DIGITS_FOR_DECIMAL`.
Show description for df0fb9e
eyalroz
committed
df0fb9e
View commit details
Copy full SHA for df0fb9e
Browse repository at this point
Previous
Next
You can’t perform that action at this time.