X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Facosh.c;h=badbf9081e644ff9df80bd2ae86cfc32e32a888b;hb=7acbbdfd5d6e264dcf8efa13188f0c8edabee047;hp=4ce9b3d1c252d88ed165357fa4b24d13430a4cc9;hpb=482ccd2f7497a79ca83e998f54e823e7cedaaa6e;p=musl diff --git a/src/math/acosh.c b/src/math/acosh.c index 4ce9b3d1..badbf908 100644 --- a/src/math/acosh.c +++ b/src/math/acosh.c @@ -1,5 +1,10 @@ #include "libm.h" +#if FLT_EVAL_METHOD==2 +#undef sqrt +#define sqrt sqrtl +#endif + /* acosh(x) = log(x + sqrt(x*x-1)) */ double acosh(double x) {