X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fgen%2Fmplibm.c;h=04af0492c338dbfc0b0bee75b8c2bb4a40b54f2a;hb=ae0f0fe09b7fc9d44d072c3fd08372991d852b1d;hp=ccb7c8126d164dc519014a3ed6be4cc9223f0c9c;hpb=2a4af1491709a649672431191a4de9e5e8c2d069;p=libc-test diff --git a/src/math/gen/mplibm.c b/src/math/gen/mplibm.c index ccb7c81..04af049 100644 --- a/src/math/gen/mplibm.c +++ b/src/math/gen/mplibm.c @@ -54,6 +54,8 @@ static int mpl2(struct t *s, long double (*f)(long double, long double)) return 0; } +static double add(double x, double y) { double z = x + y; return z; } +int mpadd(struct t *t) { return mpd2(t, add); } int mpacos(struct t *t) { return mpd1(t, acos); } int mpacosf(struct t *t) { return mpf1(t, acosf); }