Metropoli BBS
VIEWER: dblnand.c MODE: TEXT (ASCII)
/*Copyright (C) 1992, 1996 by Thomas Glen Smith.  All Rights Reserved.*/
/* dblnand APL2 V1.0.0 *************************************************
* Returns 1.0 or 0.0 depending on the logical NAND of left and rite.   *
***********************************************************************/
#define INCLUDES 0
#include "includes.h"
double dblnand(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(1.0);
	return(0.0);
}
[ RETURN TO DIRECTORY ]