Add missing z_abs. In BSD tradition this is in libm.a.

This commit is contained in:
L Jonas Olsson 1994-11-11 12:56:27 +00:00
parent a3f2401e48
commit dc400d8541
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4363

View File

@ -18,3 +18,10 @@ cabs(z)
{
return hypot(z.x, z.y);
}
double
z_abs(z)
struct complex *z;
{
return hypot(z->x, z->y);
}