This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: Resurrecting Missing Methods in inttypes.h


On Mon, Apr 3, 2017 at 4:39 AM, Corinna Vinschen <vinschen@redhat.com> wrote:
> On Apr  2 14:54, Joel Sherrill wrote:
>> Hi
>>
>> A long time ago, I asked about adding the missing methods
>> in inttypes.h. The thread meandered and never came to
>> a conclusion. It is here:
>>
>> https://sourceware.org/ml/newlib/2013/msg00626.html
>>
>> I **THINK** the consensus was that:
>>
>> + we want individual bodies so they can be linked to
>> and documented in newlib style.
>>
>> + __int128_t is not an issue.
>>
>> + Cygwin is doing this with "aliases"
>>
>>   imaxabs = llabs
>>   imaxdiv = lldiv
>>   strtoimax = strtoll
>>   strtoumax = strtoull
>>   wcstoimax = wcstoll
>>   wcstoumax = wcstoull
>>
>> It looks like the FreeBSD implementation does **NOT*
>> depend on any underlying size assumptions.
>>
>> I would like to propose merging the FreeBSD implementations
>
> Patches rule... :)
>
We just wanted confirmation this sounds like a good idea. We might
have a student work on it under GSoC, and prefer not to steer students
down rabbit holes.

Gedare

>
> Corinna
>
> --
> Corinna Vinschen
> Cygwin Maintainer
> Red Hat


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