repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git]
/
toolchain
/
gcc
/
newlib
/
libm
/
mathfp
/
wf_cabs.c
blob
c3ed0caa2415e459745b01def2fe142f43a69b74
1
/*
2
* cabsf() wrapper for hypotf().
3
*
4
* Written by J.T. Conklin, <jtc@wimsey.com>
5
* Placed into the Public Domain, 1994.
6
*/
7
8
#include
"fdlibm.h"
9
10
struct complex
{
11
float
x
;
12
float
y
;
13
};
14
15
float
16
cabsf
(
z
)
17
struct complex
z
;
18
{
19
return
hypotf
(
z
.
x
,
z
.
y
);
20
}