X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=src%2Fmath%2Fhypotl.c;h=f4a64f74f0879626bdf058883c3f31bb0c9e43e5;hp=a2cd78f09299af8c11367c9d78b35f9bb3192018;hb=59c2bd747bce9b1e35c893b2ace9bea57523a901;hpb=fc04675a09587031d5daebcb877b73976890b71d diff --git a/src/math/hypotl.c b/src/math/hypotl.c index a2cd78f..f4a64f7 100644 --- a/src/math/hypotl.c +++ b/src/math/hypotl.c @@ -13,12 +13,12 @@ #include "libm.h" -#if LD64 +#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 long double hypotl(long double x, long double y) { return hypot(x, y); } -#elif LD80 || LD128 +#elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384 #define GET_LDBL_EXPSIGN(i, v) do { \ union IEEEl2bits uv; \