[riot-notifications] [RIOT-OS/RIOT] sys/fmt: Add fmt_s64_dec, print_s64_dec (#8522)
notifications at github.com
Tue Feb 6 11:07:53 CET 2018
### Contribution description
Add functionality to format and print 64 bit signed integers as decimal.
Includes unit tests for the formatting part.
This is needed for an upcoming PR for a test application which uses 64 bit signed integers.
### Issues/PRs references
Depends on #8521
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* unittests/fmt: Add test for min/max in fmt_s32_dec
* unittests/fmt: Add max test for fmt_u16_dec
* unittests/fmt: Basic check for buffer overflow errors
* fmt: Add fmt_s64_dec, print_s64_dec
-- File Changes --
M sys/fmt/fmt.c (19)
M sys/include/fmt.h (15)
M tests/unittests/tests-fmt/tests-fmt.c (177)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications