From: Kirk McKusick Date: Thu, 30 Oct 1980 16:35:30 +0000 (-0800) Subject: date and time created 80/10/30 00:35:30 by mckusick X-Git-Tag: BSD-4^3~87 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/aa8e0d479a5f887661872f61b5ded2c5e67611e0 date and time created 80/10/30 00:35:30 by mckusick SCCS-vsn: usr.bin/pascal/libpc/ROUND.c 1.1 --- diff --git a/usr/src/usr.bin/pascal/libpc/ROUND.c b/usr/src/usr.bin/pascal/libpc/ROUND.c new file mode 100644 index 0000000000..6e813e6ca6 --- /dev/null +++ b/usr/src/usr.bin/pascal/libpc/ROUND.c @@ -0,0 +1,10 @@ +/* Copyright (c) 1979 Regents of the University of California */ + +static char sccsid[] = "@(#)ROUND.c 1.1 %G%"; + +ROUND(value) + + double value; +{ + return (long)(value + 0.5); +}