Metropoli BBS
VIEWER: or.c MODE: TEXT (ASCII)
/*Copyright (C) 1992, 1996 by Thomas Glen Smith.  All Rights Reserved.*/
/* or APL2 V1.0.0 ******************************************************
* Returns 1 or 0 depending on the logical OR of left and rite.         *
***********************************************************************/
#define INCLUDES 0
#include "includes.h"
int or(left,rite)
double left,rite;
{
	extern double fuzz;
	int ileft,irite;

	ileft = (!((left >= -fuzz) & (left <= fuzz)));
	irite = (!((rite >= -fuzz) & (rite <= fuzz)));
	return(ileft | irite);
}



[ RETURN TO DIRECTORY ]