repo.or.cz
/
uclibc-ng.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libc/stdio/_scanf.c: heed lots of warnings about signed/unsigned chars
[uclibc-ng.git]
/
libm
/
w_cabs.c
blob
d2a54cd9f499190a05bb6ef20ded237be964b631
1
/*
2
* cabs() wrapper for hypot().
3
*
4
* Written by J.T. Conklin, <jtc@wimsey.com>
5
* Placed into the Public Domain, 1994.
6
*/
7
8
#include <complex.h>
9
#include <math.h>
10
11
12
double
cabs
(
double
_Complex z
)
13
{
14
return
hypot
(
__real__ z
,
__imag__ z
);
15
}
16
libm_hidden_def
(
cabs
)