V8/usr/src/cmd/cfront/libC/complex/polar.c

Compare this file to the similar file:
Show the results in this format:


#include	"complex.h"

complex polar(double r, double theta)
{
	return complex(r * cos(theta), r * sin(theta) );
}