vm, kernel, top: report memory usage of vm, kernel
[minix.git] / lib / libm / complex / conjf.c
blob4b7dacb4fa6f539a85730ea229d416690e1b2bc9
1 /* $NetBSD: conjf.c,v 1.2 2010/09/15 16:11:29 christos Exp $ */
3 /*
4 * Written by Matthias Drochner <drochner@NetBSD.org>.
5 * Public domain.
6 */
8 #include <complex.h>
9 #include "../src/math_private.h"
11 float complex
12 conjf(float complex z)
14 float_complex w = { .z = z };
16 IMAG_PART(w) = -IMAG_PART(w);
18 return (w.z);