summaryrefslogtreecommitdiff
path: root/sysdeps/libm-ieee754/w_cabsl.c
blob: 21ef860a95ed0dd4947a20c57d5e787df8c6a3de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * cabsl() wrapper for hypotl().
 *
 * Written by J.T. Conklin, <jtc@wimsey.com>
 * Conversion to long double by Ulrich Drepper,
 * Cygnus Support, drepper@cygnus.com.
 * Placed into the Public Domain, 1994.
 */

#include <math.h>

long double
__cabsl(z)
	struct __cabs_complexl z;
{
	return __hypotl(z.x, z.y);
}
weak_alias (__cabsl, cabsl)