[PATCH] stdlib: Implement C2Y uabs, ulabs, ullabs and uimaxabs

Paul Eggert eggert@cs.ucla.edu
Fri Mar 7 23:33:43 GMT 2025


On 2025-03-07 12:59, Andrew Pinski wrote:
> unsigned int u = i;
> return i < 0 ? - u : u;

Yes that's also fine for glibc targets, and it is simpler.


More information about the Libc-alpha mailing list