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

	if (left < 0.0) left = -left;
	if (rite < 0.0) rite = -rite;
	if (left < fuzz || rite < fuzz) return(0.0);
	return(1.0);
}
[ RETURN TO DIRECTORY ]