update from John Gilmore for gcc
[unix-history] / usr / src / usr.bin / pascal / libpc / LN.c
/* Copyright (c) 1979 Regents of the University of California */
static char sccsid[] = "@(#)LN.c 1.5 %G%";
#include <math.h>
double
LN(value)
double value;
{
if (value <= 0) {
ERROR("Non-positive argument of %e to ln\n", value);
}
return log(value);
}