about summary refs log tree commit diff
path: root/sysdeps/libm-ieee754/w_cabsl.c
blob: e82130d46dae3bf8418c7ef928a872b54e91180b (plain) (blame)
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 __cabsl_complex z;
{
	return __hypotl(z.x, z.y);
}
weak_alias (__cabsl, cabsl)