projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
change over to new error message format
[unix-history]
/
usr
/
src
/
usr.bin
/
pascal
/
libpc
/
ROUND.c
/* Copyright (c) 1979 Regents of the University of California */
static char
sccsid
[] =
"@(#)ROUND.c 1.3 %G%"
;
long
ROUND
(
value
)
double
value
;
{
if
(
value
>=
0.0
)
return
(
long
)(
value
+
0.5
);
return
(
long
)(
value
-
0.5
);
}