aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/libm-ieee754/w_cabsf.c
blob: 20ff5b7744174756addf6d34007587b55be12e65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * cabsf() wrapper for hypotf().
 * 
 * Written by J.T. Conklin, <jtc@wimsey.com>
 * Placed into the Public Domain, 1994.
 */

#include "math.h"
#include "math_private.h"

float
__cabsf(z)
	struct __cabs_complexf z;
{
	return __hypotf(z.x, z.y);
}
weak_alias (__cabsf, cabsf)