(Translated by https://www.hiragana.jp/)
Preview of changes, for discussion by ledvinap · Pull Request #56 · mpaland/printf · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview of changes, for discussion #56

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add #define conditionals
  • Loading branch information
ledvinap committed Jul 25, 2019
commit ee4136ca0b9ce8521144aa62337c2ddb9c9f8102
6 changes: 6 additions & 0 deletions printf.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@
#endif

#define PRINTF_EXACT_ROUNDING

//#define PRINTF_FLOAT_MATH
//#define PRINTF_FLOAT_ONLY

//#undef PRINTF_SUPPORT_EXPONENTIAL

// sanity check
#if defined(PRINTF_SUPPORT_FLOAT) && defined(PRINTF_FLOAT_MATH) && defined(PRINTF_SUPPORT_EXPONENTIAL)
# error "PRINTF_SUPPORT_EXPONENTIAL is not supported in combination with PRINTF_FLOAT_MATH"
Expand Down