glibc:
> return ( j >= 0 ) ? j : -j;
Musl:
> return a>0 ? a : -a;
I guess looking at the definition: https://en.wikipedia.org/wiki/Absolute_value#Real_numbers I would say `( j >= 0 ) ? j : -j` is more accurate, although in practical terms is the same result.
glibc:
> return ( j >= 0 ) ? j : -j;
Musl:
> return a>0 ? a : -a;