Add missing z_abs. In BSD tradition this is in libm.a.
This commit is contained in:
parent
a3f2401e48
commit
dc400d8541
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4363
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user