xref: /csrg-svn/usr.bin/pascal/libpc/RELTGE.c (revision 62096)
140865Sbostic /*-
2*62096Sbostic  * Copyright (c) 1979, 1993
3*62096Sbostic  *	The Regents of the University of California.  All rights reserved.
440865Sbostic  *
540865Sbostic  * %sccs.include.redist.c%
640865Sbostic  */
71690Smckusick 
840865Sbostic #ifndef lint
9*62096Sbostic static char sccsid[] = "@(#)RELTGE.c	8.1 (Berkeley) 06/06/93";
1040865Sbostic #endif /* not lint */
111690Smckusick 
121690Smckusick #include "h00vars.h"
131690Smckusick 
143022Smckusic bool
RELTGE(bytecnt,left,right)151690Smckusick RELTGE(bytecnt, left, right)
161690Smckusick 
173022Smckusic 	long		bytecnt;
181690Smckusick 	register long	*left;
191690Smckusick 	register long	*right;
201690Smckusick {
211690Smckusick 	register int	longcnt;
221690Smckusick 
231690Smckusick 	longcnt = bytecnt >> 2;
241690Smckusick 	do	{
251690Smckusick 		if ((*right++ & ~*left++) != 0)
261690Smckusick 			return FALSE;
271690Smckusick 	} while (--longcnt);
281690Smckusick 	return TRUE;
291690Smckusick }
30