X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Facoshf.c;h=8a4ec4d57ead3cbcd473d2ddfdd43d910956f1b9;hb=4554f155dd23a65fcdfd39f1d5af8af55ba37694;hp=16550f19d397a5c4b267b00d946cecf340a3d21e;hpb=101e6012856918440b5d7474739c3fc22a8d3b85;p=musl diff --git a/src/math/acoshf.c b/src/math/acoshf.c index 16550f19..8a4ec4d5 100644 --- a/src/math/acoshf.c +++ b/src/math/acoshf.c @@ -1,5 +1,13 @@ #include "libm.h" +#if FLT_EVAL_METHOD==2 +#undef sqrtf +#define sqrtf sqrtl +#elif FLT_EVAL_METHOD==1 +#undef sqrtf +#define sqrtf sqrt +#endif + /* acosh(x) = log(x + sqrt(x*x-1)) */ float acoshf(float x) {