[riot-notifications] [RIOT-OS/RIOT] sys/fmt: Add fmt_s64_dec, print_s64_dec (#8522)

Joakim NohlgÄrd 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:

  https://github.com/RIOT-OS/RIOT/pull/8522

-- 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 --

https://github.com/RIOT-OS/RIOT/pull/8522.patch
https://github.com/RIOT-OS/RIOT/pull/8522.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/8522
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20180206/302f1e44/attachment.html>


More information about the notifications mailing list