projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
include math.h to insure correct return type
[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.3 %G%"
;
#include <math.h>
#include
"h01errs.h"
double
LN
(
value
)
double
value
;
{
if
(
value
<=
0
) {
ERROR
(
ELN
,
value
);
return
;
}
return
log
(
value
);
}