[PATCH 09/12] ldbl-128ibm-compat: Provide nexttoward functions

Tulio Magno Quites Machado Filho tuliom@linux.ibm.com
Thu Jun 21 01:08:00 GMT 2018


Joseph Myers <joseph@codesourcery.com> writes:

> On Tue, 19 Jun 2018, Tulio Magno Quites Machado Filho wrote:
>
>>   __nexttowardieee128 (as an alias to __nextafterieee128)
>
> Is there an advantage to having this alias over having another #define in 
> math.h like those used for drem and gamma?

No.  However, changing it breaks math/test-tgmath.c as it defines its own
nextafterl and nexttowardl in the same compilation unit, causing the assembler
to fail with:
/tmp/ccE9ypFK.s: Assembler messages:
/tmp/ccE9ypFK.s:22067: Error: symbol `__nextafterieee128' is already defined

Any suggestions on how to proceed?

-- 
Tulio Magno



More information about the Libc-alpha mailing list