Symbol: hypot
include/math.h
270
double hypot(double, double);
include/tgmath.h
164
#define hypot(a,b) __TG_FN2(hypot, (a), (b))
lib/libm/compat/compat_cabs.c
28
return hypot(z.x, z.y);
lib/libm/complex/cabs.c
16
return hypot(__real__ z, __imag__ z);
lib/libm/complex/catrig.c
182
R = hypot(x, y + 1); /* |z+I| */
lib/libm/complex/catrig.c
183
S = hypot(x, y - 1); /* |z-I| */
lib/libm/complex/catrig.c
501
return (CMPLX(log(hypot(x / m_e, y / m_e)) + 1, atan2(y, x)));
lib/libm/complex/catrig.c
508
return (CMPLX(log(hypot(x, y)), atan2(y, x)));
lib/libm/noieee_src/n_cabs.c
176
return hypot(z.x,z.y);
lib/libm/noieee_src/n_cabs.c
183
return hypot(z->x,z->y);
lib/libm/src/e_hypotl.c
141
return hypot(x, y);
lib/libm/src/w_hypot.c
27
__weak_alias(hypot, _hypot)
lib/libm/src/w_hypot.c
31
hypot(double x, double y)/* wrapper hypot */
lib/lua/libm/libm.c
132
DFUNC_DBL_DBL(hypot)
tests/lib/libm/t_hypot.c
245
CHECK_EQ(i, hypot, x, +0., x);
tests/lib/libm/t_hypot.c
246
CHECK_EQ(i, hypot, x, -0., x);
tests/lib/libm/t_hypot.c
247
CHECK_EQ(i, hypot, +0., x, x);
tests/lib/libm/t_hypot.c
248
CHECK_EQ(i, hypot, -0., x, x);
tests/lib/libm/t_hypot.c
249
CHECK_EQ(i, hypot, -x, +0., x);
tests/lib/libm/t_hypot.c
250
CHECK_EQ(i, hypot, -x, -0., x);
tests/lib/libm/t_hypot.c
251
CHECK_EQ(i, hypot, +0., -x, x);
tests/lib/libm/t_hypot.c
252
CHECK_EQ(i, hypot, -0., -x, x);
tests/lib/libm/t_hypot.c
255
CHECK_EQ(i, hypot, x, +INFINITY, INFINITY);
tests/lib/libm/t_hypot.c
256
CHECK_EQ(i, hypot, x, -INFINITY, INFINITY);
tests/lib/libm/t_hypot.c
257
CHECK_EQ(i, hypot, +INFINITY, x, INFINITY);
tests/lib/libm/t_hypot.c
258
CHECK_EQ(i, hypot, -INFINITY, x, INFINITY);
tests/lib/libm/t_hypot.c
259
CHECK_EQ(i, hypot, -x, +INFINITY, INFINITY);
tests/lib/libm/t_hypot.c
260
CHECK_EQ(i, hypot, -x, -INFINITY, INFINITY);
tests/lib/libm/t_hypot.c
261
CHECK_EQ(i, hypot, +INFINITY, -x, INFINITY);
tests/lib/libm/t_hypot.c
262
CHECK_EQ(i, hypot, -INFINITY, -x, INFINITY);
tests/lib/libm/t_hypot.c
267
CHECK_EQ(i, hypot, x, NAN, INFINITY);
tests/lib/libm/t_hypot.c
268
CHECK_EQ(i, hypot, NAN, x, INFINITY);
tests/lib/libm/t_hypot.c
269
CHECK_EQ(i, hypot, -x, NAN, INFINITY);
tests/lib/libm/t_hypot.c
270
CHECK_EQ(i, hypot, NAN, -x, INFINITY);
tests/lib/libm/t_hypot.c
272
CHECK_NAN(i, hypot, x, NAN);
tests/lib/libm/t_hypot.c
273
CHECK_NAN(i, hypot, NAN, x);
tests/lib/libm/t_hypot.c
274
CHECK_NAN(i, hypot, -x, NAN);
tests/lib/libm/t_hypot.c
275
CHECK_NAN(i, hypot, NAN, -x);
tests/lib/libm/t_hypot.c
283
CHECK_EQ(i, hypot, x, +0., x);
tests/lib/libm/t_hypot.c
284
CHECK_EQ(i, hypot, x, -0., x);
tests/lib/libm/t_hypot.c
285
CHECK_EQ(i, hypot, +0., x, x);
tests/lib/libm/t_hypot.c
286
CHECK_EQ(i, hypot, -0., x, x);
tests/lib/libm/t_hypot.c
287
CHECK_EQ(i, hypot, -x, +0., x);
tests/lib/libm/t_hypot.c
288
CHECK_EQ(i, hypot, -x, -0., x);
tests/lib/libm/t_hypot.c
289
CHECK_EQ(i, hypot, +0., -x, x);
tests/lib/libm/t_hypot.c
290
CHECK_EQ(i, hypot, -0., -x, x);
tests/lib/libm/t_hypot.c
293
CHECK_EQ(i, hypot, x, +INFINITY, INFINITY);
tests/lib/libm/t_hypot.c
294
CHECK_EQ(i, hypot, x, -INFINITY, INFINITY);
tests/lib/libm/t_hypot.c
295
CHECK_EQ(i, hypot, +INFINITY, x, INFINITY);
tests/lib/libm/t_hypot.c
296
CHECK_EQ(i, hypot, -INFINITY, x, INFINITY);
tests/lib/libm/t_hypot.c
297
CHECK_EQ(i, hypot, -x, +INFINITY, INFINITY);
tests/lib/libm/t_hypot.c
298
CHECK_EQ(i, hypot, -x, -INFINITY, INFINITY);
tests/lib/libm/t_hypot.c
299
CHECK_EQ(i, hypot, +INFINITY, -x, INFINITY);
tests/lib/libm/t_hypot.c
300
CHECK_EQ(i, hypot, -INFINITY, -x, INFINITY);
tests/lib/libm/t_hypot.c
305
CHECK_EQ(i, hypot, x, NAN, INFINITY);
tests/lib/libm/t_hypot.c
306
CHECK_EQ(i, hypot, NAN, x, INFINITY);
tests/lib/libm/t_hypot.c
307
CHECK_EQ(i, hypot, -x, NAN, INFINITY);
tests/lib/libm/t_hypot.c
308
CHECK_EQ(i, hypot, NAN, -x, INFINITY);
tests/lib/libm/t_hypot.c
310
CHECK_NAN(i, hypot, x, NAN);
tests/lib/libm/t_hypot.c
311
CHECK_NAN(i, hypot, NAN, x);
tests/lib/libm/t_hypot.c
312
CHECK_NAN(i, hypot, -x, NAN);
tests/lib/libm/t_hypot.c
313
CHECK_NAN(i, hypot, NAN, -x);
tests/lib/libm/t_hypot.c
33
#define CHECK_EQ(i, hypot, a, b, c) \
tests/lib/libm/t_hypot.c
34
ATF_CHECK_MSG(hypot(a, b) == (c), \
tests/lib/libm/t_hypot.c
36
(i), #hypot, (a), (b), hypot(a, b), (c))
tests/lib/libm/t_hypot.c
38
#define CHECKL_EQ(i, hypot, a, b, c) \
tests/lib/libm/t_hypot.c
39
ATF_CHECK_MSG(hypot(a, b) == (c), \
tests/lib/libm/t_hypot.c
41
(i), #hypot, (long double)(a), (long double)(b), hypot(a, b), \
tests/lib/libm/t_hypot.c
44
#define CHECK_NAN(i, hypot, a, b) \
tests/lib/libm/t_hypot.c
45
ATF_CHECK_MSG(isnan(hypot(a, b)), \
tests/lib/libm/t_hypot.c
47
(i), #hypot, (a), (b), hypot(a, b))
tests/lib/libm/t_hypot.c
49
#define CHECKL_NAN(i, hypot, a, b) \
tests/lib/libm/t_hypot.c
50
ATF_CHECK_MSG(isnan(hypot(a, b)), \
tests/lib/libm/t_hypot.c
519
CHECK_EQ(i, hypot, a, b, c);
tests/lib/libm/t_hypot.c
52
(i), #hypot, (long double)(a), (long double)(b), hypot(a, b))
tests/lib/libm/t_hypot.c
520
CHECK_EQ(i, hypot, b, a, c);
tests/lib/libm/t_hypot.c
521
CHECK_EQ(i, hypot, a, -b, c);
tests/lib/libm/t_hypot.c
522
CHECK_EQ(i, hypot, b, -a, c);
tests/lib/libm/t_hypot.c
523
CHECK_EQ(i, hypot, -a, b, c);
tests/lib/libm/t_hypot.c
524
CHECK_EQ(i, hypot, -b, a, c);
tests/lib/libm/t_hypot.c
525
CHECK_EQ(i, hypot, -a, -b, c);
tests/lib/libm/t_hypot.c
526
CHECK_EQ(i, hypot, -b, -a, c);
tests/lib/libm/t_hypot.c
550
CHECK_EQ(i, hypot, a, b, c);
tests/lib/libm/t_hypot.c
551
CHECK_EQ(i, hypot, b, a, c);
tests/lib/libm/t_hypot.c
552
CHECK_EQ(i, hypot, a, -b, c);
tests/lib/libm/t_hypot.c
553
CHECK_EQ(i, hypot, b, -a, c);
tests/lib/libm/t_hypot.c
554
CHECK_EQ(i, hypot, -a, b, c);
tests/lib/libm/t_hypot.c
555
CHECK_EQ(i, hypot, -b, a, c);
tests/lib/libm/t_hypot.c
556
CHECK_EQ(i, hypot, -a, -b, c);
tests/lib/libm/t_hypot.c
557
CHECK_EQ(i, hypot, -b, -a, c);
tests/lib/libm/t_hypot.c
571
CHECK_EQ(i, hypot, a, b, c);
tests/lib/libm/t_hypot.c
572
CHECK_EQ(i, hypot, b, a, c);
tests/lib/libm/t_hypot.c
573
CHECK_EQ(i, hypot, a, -b, c);
tests/lib/libm/t_hypot.c
574
CHECK_EQ(i, hypot, b, -a, c);
tests/lib/libm/t_hypot.c
575
CHECK_EQ(i, hypot, -a, b, c);
tests/lib/libm/t_hypot.c
576
CHECK_EQ(i, hypot, -b, a, c);
tests/lib/libm/t_hypot.c
577
CHECK_EQ(i, hypot, -a, -b, c);
tests/lib/libm/t_hypot.c
578
CHECK_EQ(i, hypot, -b, -a, c);
tests/lib/libm/t_hypot.c
666
CHECK_NAN(0, hypot, NAN, NAN);
tests/lib/lua/libm/h_lualibm.c
59
TEST(hypot(3.0, 4.0));