Make 'fortran float sin(), cos();' work with gcc by replacing it with
[unix-history] / usr / src / usr.bin / f77 / libF77 / r_imag.c
CommitLineData
4feb3afc 1/*
e309c71b
RE
2 * Copyright (c) 1980 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 *
46452188 6 * @(#)r_imag.c 5.2 %G%
4feb3afc
DW
7 */
8
9#include "complex"
10
46452188 11float r_imag(z)
4feb3afc
DW
12complex *z;
13{
14return(z->imag);
15}