[PATCH] Add Roman numerals in *printf
Carlos O'Donell
carlos@redhat.com
Fri Apr 1 14:22:00 GMT 2016
On 04/01/2016 05:33 AM, Matteo Croce wrote:
> This patch adds the `%r' modifier in all the *printf functions,
> which can be used to represent a number in Roman numerals.
> This has two big advantages:
High-level review:
(a) Standardize '%r' and '%R' first.
As Adhemerval notes, this needs to go through POSIX or ISO C first
to standardize the '%r' and '%R' modifiers.
Working with the Austin Group is pretty easy actually, you need
to file a ticket with their system and discuss the change to the
standard:
Austin Group homepage:
http://www.opengroup.org/austin/
Austin Group bug tracker:
http://austingroupbugs.net/main_page.php
(b) Follow the contribution checklist.
After you have standardized the modifiers you go through the
contribution checklist here:
https://sourceware.org/glibc/wiki/Contribution%20checklist
(c) Needs tests.
You need tests for all of the characters you are adding, and
the output they might generate.
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list