This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add Roman numerals in *printf


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]