Skip to content

Version 5.1.0

Compare
Choose a tag to compare
@eyalroz eyalroz released this 12 Nov 19:40
· 111 commits to master since this release

Changes since v5.0.0:

Repository structure and other general changes

  • #58 : Moved printf.h and printf.c into the src/ directory

Build configuration

  • #59: Unified names of CMake variable and C preprocessor defines for the integer-to-string buffer size. It's now PRINTF_INTEGER_BUFFER_SIZE everywhere.
  • #54: Changed the mechanism for aliasing the standard printf() family of functions. (And it's not broken now...)

Library API changes

  • #55: Using putchar_() instead of _putchar().

Code formatting, naming, comments etc.

  • #54: Avoiding the ifdef-if preprocessor directive idiom, in favor of ifndef-define-endif-if.
  • Change include guard name - avoiding heading underscore.

Other issues

  • Dropped Travis CI metadata file.
  • README.md documentation update
  • More pedantic use of NULL in the test suite.
  • Fixed: Was not passing TEST_WITH_NON_STANDARD_FORMAT_STRINGS properly to the test suite.
  • Added a test for aliasing the standard library's printf(): aliasing.cpp
  • Change include guard name - avoiding heading underscore.
  • #52: Test suite no longer checks for "10e+2", "10e+5" etc. but rather "1e+3", "1e+6" etc. (like it should.)
  • Disabling a format warning about invalid formats, which we are testing as such intentionally.

Caveats

  • Still no special handling for denormals.