OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
mips/sysdep.h: Unify mips sysdep.h
[uclinux-h8/uClibc.git]
/
libm
/
w_cabs.c
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
double cabs(double _Complex z)
12
{
13
return hypot(__real__ z, __imag__ z);
14
}
15
libm_hidden_def(cabs)