date and time created 80/10/31 14:39:48 by mckusick
[unix-history] / usr / src / usr.bin / pascal / libpc / RELTGT.c
CommitLineData
67c30c9c
KM
1/* Copyright (c) 1979 Regents of the University of California */
2
3static char sccsid[] = "@(#)RELTGT.c 1.1 %G%";
4
5#include "h00vars.h"
6
7RELTGT(bytecnt, left, right)
8
9 int bytecnt;
10 register long *left;
11 register long *right;
12{
13 register int longcnt;
14
15 longcnt = bytecnt >> 2;
16 do {
17 if ((*right & ~*left) != 0)
18 return FALSE;
19 if ((*left++ & ~*right++) != 0)
20 goto geq;
21 } while (--longcnt);
22 return FALSE;
23geq:
24 while (--longcnt) {
25 if ((*right++ & ~*left++) != 0)
26 return FALSE;
27 }
28 return TRUE;
29}