summaryrefslogtreecommitdiff
path: root/lib/libm/complex/cimag.c
blob: 865927e7bd85e6001fea6ef9a3fa85685821e834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* $NetBSD: cimag.c,v 1.1 2007/08/20 16:01:34 drochner Exp $ */

/*
 * Written by Matthias Drochner <drochner@NetBSD.org>.
 * Public domain.
 */

#include <complex.h>

double
cimag(double complex z)
{

	return __imag__ z;
}