On Mon, 29 Jan 2024, Adhemerval Zanella Netto via Glibc-bugs wrote: > > Here in math/e_exp10l.c, the name "exp10l" must be used, but this line is copied from math/e_exp10.c and not changed: > > > >   34 libm_alias_finite (__ieee754_exp10, __exp10) > > > > https://sourceware.org/git/?p=glibc.git;a=blob;f=math/e_exp10l.c;h=b33d6fea239ebc20caf8b2dec9b7d03909a0fc81;hb=220622dde5704c95a100c2792a280f18f3deba73#l34 > > It is indeed wrong, although it is not used by any ABI which defines > a long double different than double. Either the sysdep version > (ieee754/ldbl-128ibm, ieee754/ldbl-128) or an arch specific one > (m68k, x86). > > If/once an ABI uses this generic version, it would most likely > generic either an build error (due wrong aliases) or an ABI > issue. Maybe a better option would just to remove this file. I agree with the idea of removing all the math/ implementations that are bogus (don't implement the appropriate semantics with an reasonable accuracy) and overridden for all supported floating-point formats / targets. That includes at least: e_exp10.c e_exp10l.c s_fma.c s_fmaf.c s_fmal.c. -- Joseph S. Myers josmyers@redhat.com