Cygwin: SetThreadName: avoid spurious debug message
[newlib-cygwin.git] / newlib / libm / math / el_hypot.c
blob737cde36b05165ad611bcdc7b6863b6b359981d8
1 /* Copyright (C) 2015 by Red Hat, Incorporated. All rights reserved.
3 * Permission to use, copy, modify, and distribute this software
4 * is freely granted, provided that this notice is preserved.
5 */
7 #include "fdlibm.h"
9 long double
10 __ieee754_hypotl (long double x, long double y)
12 #ifdef _LDBL_EQ_DBL
13 return __ieee754_hypot (x, y);
14 #else
15 /* Keep it simple for now... */
16 return sqrtl ((x * x) + (y * y));
17 #endif