-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libc] add printf auto float conversion
This patch adds the final conversion to printf, %g. This is a floating point conversion that selects automatically between the %e and %f formats based on the precision requested and resulting exponent. Additionally it trims trailing zeroes. With this done all that's left for finishing printf is adding long double support to the decimal float conversions. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D143006
- Loading branch information
1 parent
223e99f
commit 173d502
Showing
5 changed files
with
1,018 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.