2012-01-10 05:38:42 +00:00
|
|
|
# Begin of automatic generation
|
|
|
|
|
|
|
|
# Maximal error of functions:
|
2017-07-28 12:19:40 +00:00
|
|
|
Function: "acos":
|
|
|
|
float: 1
|
|
|
|
|
2014-02-03 23:30:34 +00:00
|
|
|
Function: "acosh":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 2
|
|
|
|
float: 2
|
|
|
|
|
|
|
|
Function: "asin":
|
|
|
|
float: 1
|
2014-02-03 23:30:34 +00:00
|
|
|
|
|
|
|
Function: "asinh":
|
|
|
|
double: 1
|
|
|
|
float: 1
|
|
|
|
|
2017-07-28 12:19:40 +00:00
|
|
|
Function: "atan":
|
2012-01-10 05:38:42 +00:00
|
|
|
float: 1
|
|
|
|
|
2017-07-28 12:19:40 +00:00
|
|
|
Function: "atan2":
|
2012-01-10 05:38:42 +00:00
|
|
|
float: 1
|
|
|
|
|
2017-07-28 12:19:40 +00:00
|
|
|
Function: "atanh":
|
|
|
|
double: 2
|
|
|
|
float: 2
|
|
|
|
|
|
|
|
Function: "cabs":
|
|
|
|
double: 1
|
|
|
|
|
2012-01-10 05:38:42 +00:00
|
|
|
Function: Real part of "cacos":
|
|
|
|
double: 1
|
2014-02-03 23:30:34 +00:00
|
|
|
float: 2
|
2012-01-10 05:38:42 +00:00
|
|
|
|
|
|
|
Function: Imaginary part of "cacos":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 2
|
2014-02-03 23:30:34 +00:00
|
|
|
float: 2
|
2012-01-10 05:38:42 +00:00
|
|
|
|
|
|
|
Function: Real part of "cacosh":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 2
|
2014-02-03 23:30:34 +00:00
|
|
|
float: 2
|
2012-01-10 05:38:42 +00:00
|
|
|
|
|
|
|
Function: Imaginary part of "cacosh":
|
|
|
|
double: 1
|
2014-02-03 23:30:34 +00:00
|
|
|
float: 2
|
2012-01-10 05:38:42 +00:00
|
|
|
|
2017-07-28 12:19:40 +00:00
|
|
|
Function: "carg":
|
|
|
|
float: 1
|
|
|
|
|
2012-01-10 05:38:42 +00:00
|
|
|
Function: Real part of "casin":
|
|
|
|
double: 1
|
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: Imaginary part of "casin":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 2
|
2014-02-03 23:30:34 +00:00
|
|
|
float: 2
|
2012-01-10 05:38:42 +00:00
|
|
|
|
|
|
|
Function: Real part of "casinh":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 2
|
2014-02-03 23:30:34 +00:00
|
|
|
float: 2
|
2012-01-10 05:38:42 +00:00
|
|
|
|
|
|
|
Function: Imaginary part of "casinh":
|
|
|
|
double: 1
|
|
|
|
float: 1
|
|
|
|
|
2014-02-03 23:30:34 +00:00
|
|
|
Function: Real part of "catan":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 1
|
2014-02-03 23:30:34 +00:00
|
|
|
float: 1
|
|
|
|
|
2012-01-10 05:38:42 +00:00
|
|
|
Function: Imaginary part of "catan":
|
|
|
|
double: 1
|
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: Real part of "catanh":
|
2014-02-03 23:30:34 +00:00
|
|
|
double: 1
|
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: Imaginary part of "catanh":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 1
|
2014-02-03 23:30:34 +00:00
|
|
|
float: 1
|
2012-01-10 05:38:42 +00:00
|
|
|
|
|
|
|
Function: "cbrt":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 3
|
2014-02-03 23:30:34 +00:00
|
|
|
float: 1
|
2012-01-10 05:38:42 +00:00
|
|
|
|
|
|
|
Function: Real part of "ccos":
|
|
|
|
double: 1
|
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: Imaginary part of "ccos":
|
|
|
|
double: 1
|
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: Real part of "ccosh":
|
|
|
|
double: 1
|
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: Imaginary part of "ccosh":
|
|
|
|
double: 1
|
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: Real part of "cexp":
|
|
|
|
double: 2
|
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: Imaginary part of "cexp":
|
|
|
|
double: 1
|
|
|
|
float: 2
|
|
|
|
|
|
|
|
Function: Real part of "clog":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 3
|
|
|
|
float: 3
|
2012-01-10 05:38:42 +00:00
|
|
|
|
|
|
|
Function: Imaginary part of "clog":
|
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: Real part of "clog10":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 3
|
|
|
|
float: 4
|
|
|
|
|
|
|
|
Function: Imaginary part of "clog10":
|
2012-01-10 05:38:42 +00:00
|
|
|
double: 2
|
|
|
|
float: 2
|
|
|
|
|
|
|
|
Function: "cos":
|
|
|
|
float: 1
|
|
|
|
|
2014-02-03 23:30:34 +00:00
|
|
|
Function: "cosh":
|
|
|
|
double: 1
|
|
|
|
float: 1
|
|
|
|
|
2012-01-10 05:38:42 +00:00
|
|
|
Function: Real part of "cpow":
|
|
|
|
double: 2
|
|
|
|
float: 4
|
|
|
|
|
|
|
|
Function: Imaginary part of "cpow":
|
|
|
|
float: 2
|
|
|
|
|
|
|
|
Function: Real part of "csin":
|
|
|
|
double: 1
|
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: Real part of "csinh":
|
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: Imaginary part of "csinh":
|
|
|
|
double: 1
|
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: Real part of "csqrt":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 2
|
|
|
|
float: 2
|
2012-01-10 05:38:42 +00:00
|
|
|
|
|
|
|
Function: Imaginary part of "csqrt":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 2
|
|
|
|
float: 2
|
2012-01-10 05:38:42 +00:00
|
|
|
|
|
|
|
Function: Real part of "ctan":
|
|
|
|
double: 1
|
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: Imaginary part of "ctan":
|
2014-02-03 23:30:34 +00:00
|
|
|
double: 2
|
|
|
|
float: 1
|
2012-01-10 05:38:42 +00:00
|
|
|
|
|
|
|
Function: Real part of "ctanh":
|
2014-02-03 23:30:34 +00:00
|
|
|
double: 2
|
2012-01-10 05:38:42 +00:00
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: Imaginary part of "ctanh":
|
2014-02-03 23:30:34 +00:00
|
|
|
double: 2
|
2012-01-10 05:38:42 +00:00
|
|
|
float: 2
|
|
|
|
|
|
|
|
Function: "erf":
|
|
|
|
double: 1
|
2017-07-28 12:19:40 +00:00
|
|
|
float: 1
|
2012-01-10 05:38:42 +00:00
|
|
|
|
|
|
|
Function: "erfc":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 3
|
|
|
|
float: 2
|
|
|
|
|
|
|
|
Function: "exp":
|
2012-01-10 05:38:42 +00:00
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: "exp10":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 2
|
2012-01-10 05:38:42 +00:00
|
|
|
|
2017-07-28 12:19:40 +00:00
|
|
|
Function: "exp2":
|
2012-01-10 05:38:42 +00:00
|
|
|
double: 1
|
|
|
|
float: 1
|
|
|
|
|
2017-07-28 12:19:40 +00:00
|
|
|
Function: "expm1":
|
2014-02-03 23:30:34 +00:00
|
|
|
double: 1
|
2012-01-10 05:38:42 +00:00
|
|
|
|
2017-07-28 12:19:40 +00:00
|
|
|
Function: "gamma":
|
|
|
|
double: 4
|
|
|
|
float: 4
|
|
|
|
|
2014-02-03 23:30:34 +00:00
|
|
|
Function: "hypot":
|
|
|
|
double: 1
|
|
|
|
|
2012-01-10 05:38:42 +00:00
|
|
|
Function: "j0":
|
|
|
|
double: 2
|
|
|
|
float: 2
|
|
|
|
|
|
|
|
Function: "j1":
|
|
|
|
double: 1
|
|
|
|
float: 2
|
|
|
|
|
|
|
|
Function: "jn":
|
|
|
|
double: 4
|
2014-02-03 23:30:34 +00:00
|
|
|
float: 4
|
2012-01-10 05:38:42 +00:00
|
|
|
|
|
|
|
Function: "lgamma":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 4
|
|
|
|
float: 4
|
2014-02-03 23:30:34 +00:00
|
|
|
|
|
|
|
Function: "log":
|
|
|
|
float: 1
|
2012-01-10 05:38:42 +00:00
|
|
|
|
|
|
|
Function: "log10":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 2
|
2012-01-10 05:38:42 +00:00
|
|
|
float: 2
|
|
|
|
|
|
|
|
Function: "log1p":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 1
|
|
|
|
|
|
|
|
Function: "log2":
|
|
|
|
double: 2
|
|
|
|
float: 1
|
2012-01-10 05:38:42 +00:00
|
|
|
|
Implement C23 logp1
C23 adds various <math.h> function families originally defined in TS
18661-4. Add the logp1 functions (aliases for log1p functions - the
name is intended to be more consistent with the new log2p1 and
log10p1, where clearly it would have been very confusing to name those
functions log21p and log101p). As aliases rather than new functions,
the content of this patch is somewhat different from those actually
adding new functions.
Tests are shared with log1p, so this patch *does* mechanically update
all affected libm-test-ulps files to expect the same errors for both
functions.
The vector versions of log1p on aarch64 and x86_64 are *not* updated
to have logp1 aliases (and thus there are no corresponding header,
tests, abilist or ulps changes for vector functions either). It would
be reasonable for such vector aliases and corresponding changes to
other files to be made separately. For now, the log1p tests instead
avoid testing logp1 in the vector case (a Makefile change is needed to
avoid problems with grep, used in generating the .c files for vector
function tests, matching more than one ALL_RM_TEST line in a file
testing multiple functions with the same inputs, when it assumes that
the .inc file only has a single such line).
Tested for x86_64 and x86, and with build-many-glibcs.py.
2024-06-17 13:47:09 +00:00
|
|
|
Function: "logp1":
|
|
|
|
double: 1
|
|
|
|
|
2012-01-10 05:38:42 +00:00
|
|
|
Function: "pow":
|
|
|
|
float: 1
|
|
|
|
|
2014-02-03 23:30:34 +00:00
|
|
|
Function: "sin":
|
2012-01-10 05:38:42 +00:00
|
|
|
float: 1
|
|
|
|
|
2014-02-03 23:30:34 +00:00
|
|
|
Function: "sincos":
|
2012-01-10 05:38:42 +00:00
|
|
|
float: 1
|
|
|
|
|
2017-07-28 12:19:40 +00:00
|
|
|
Function: "sinh":
|
|
|
|
double: 2
|
|
|
|
float: 2
|
|
|
|
|
|
|
|
Function: "tan":
|
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: "tanh":
|
|
|
|
double: 2
|
|
|
|
float: 2
|
|
|
|
|
2014-02-03 23:30:34 +00:00
|
|
|
Function: "tgamma":
|
2017-07-28 12:19:40 +00:00
|
|
|
double: 5
|
2014-02-03 23:30:34 +00:00
|
|
|
|
2012-01-10 05:38:42 +00:00
|
|
|
Function: "y0":
|
|
|
|
double: 2
|
|
|
|
float: 1
|
|
|
|
|
|
|
|
Function: "y1":
|
|
|
|
double: 3
|
|
|
|
float: 2
|
|
|
|
|
|
|
|
Function: "yn":
|
|
|
|
double: 3
|
|
|
|
float: 2
|
|
|
|
|
|
|
|
# end of automatic generation
|