repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vm, kernel, top: report memory usage of vm, kernel
[minix.git]
/
lib
/
libm
/
complex
/
cimagf.c
blob
a82d696fbec24381334231acf68ce88c4ace61b9
1
/* $NetBSD: cimagf.c,v 1.2 2010/09/15 16:11:29 christos Exp $ */
2
3
/*
4
* Written by Matthias Drochner <drochner@NetBSD.org>.
5
* Public domain.
6
*/
7
8
#include <complex.h>
9
#include
"../src/math_private.h"
10
11
float
12
cimagf
(
float complex
z
)
13
{
14
float_complex w
= { .
z
=
z
};
15
16
return
(
IMAG_PART
(
w
));
17
}