mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
55eb99e9a9
C23 adds various <math.h> function families originally defined in TS 18661-4. Add the log10p1 functions (log10(1+x): like log1p, but for base-10 logarithms). This is directly analogous to the log2p1 implementation (except that whereas log2p1 has a smaller underflow range than log1p, log10p1 has a larger underflow range). The test inputs are copied from those for log1p and log2p1, plus a few more inputs in that wider underflow range. Tested for x86_64 and x86, and with build-many-glibcs.py.
9 lines
97 B
C
9 lines
97 B
C
#include "nldbl-compat.h"
|
|
|
|
double
|
|
attribute_hidden
|
|
log10p1l (double x)
|
|
{
|
|
return log10p1 (x);
|
|
}
|