Files
Arquivotheca.SunOS-4.1.4/usr.lib/libm/R/r_atan2pi_.c
seta75D ff309bfe1c Init
2021-10-11 18:37:13 -03:00

21 lines
338 B
C

#ifndef lint
static char sccsid[] = "@(#)r_atan2pi_.c 1.1 94/10/31 SMI";
#endif
/*
* Copyright (c) 1988 by Sun Microsystems, Inc.
*/
#include <math.h>
static double invpi = 0.3183098861837906715377675;
FLOATFUNCTIONTYPE r_atan2pi_(y,x)
float *y,*x;
{
float w;
w = (float) (invpi*atan2((double)*y,(double)*x));
RETURNFLOAT(w);
}