From bb25c98f3273f1522bdf0691b2f744eecced0e3b Mon Sep 17 00:00:00 2001 From: David Wasley Date: Fri, 21 Jan 1983 19:12:48 -0800 Subject: [PATCH] date and time created 83/01/21 11:12:48 by dlw SCCS-vsn: usr.bin/f77/libF77/h_abs.c 1.1 --- usr/src/usr.bin/f77/libF77/h_abs.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 usr/src/usr.bin/f77/libF77/h_abs.c diff --git a/usr/src/usr.bin/f77/libF77/h_abs.c b/usr/src/usr.bin/f77/libF77/h_abs.c new file mode 100644 index 0000000000..282349022f --- /dev/null +++ b/usr/src/usr.bin/f77/libF77/h_abs.c @@ -0,0 +1,11 @@ +/* + * "@(#)h_abs.c 1.1" + */ + +short h_abs(x) +short *x; +{ +if(*x >= 0) + return(*x); +return(- *x); +} -- 2.20.1