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

23 lines
399 B
C

#ifndef lint
static char sccsid[] = "@(#)r_acosd.c 1.1 94/10/31 SMI"; /* from UCB 1.1" */
#endif
/*
* VMS Fortran compatibility function:
* arc cosine in degrees.
*/
#include <math.h>
static float pitod = 57.2957795130823208767981548141; /* 180/pi */
FLOATFUNCTIONTYPE r_acosd(x)
float *x;
{
FLOATFUNCTIONTYPE w;
float z;
w = r_acos_(x);
z = *((float *)&w) * pitod;
RETURNFLOAT(z);
}