nant's projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge branch 'vendor/MPFR'
[dragonfly.git]
/
lib
/
libm
/
complex
/
cabsf.c
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
}