repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
HAMMER VFS - Major retooling of the refcount mechanics, and fix a deadlock
[dragonfly.git]
/
lib
/
libm
/
complex
/
cabsf.c
blob
0baf5285da56306b531332adfaf8bf1f26bb798a
1
/* $NetBSD: cabsf.c,v 1.1 2007/08/20 16:01:30 drochner Exp $ */
2
3
/*
4
* Written by Matthias Drochner <drochner@NetBSD.org>.
5
* Public domain.
6
*/
7
8
#include <complex.h>
9
#include <math.h>
10
#include
"../src/math_private.h"
11
12
float
13
cabsf
(
float complex
z
)
14
{
15
16
return
hypotf
(
crealf
(
z
),
cimagf
(
z
));
17
}