shithub: npe

ref: 742736e50d97306ad16853d18c977b502cf35b82
dir: /libnpe/isinf.c/

View raw version
#include <math.h>
#include "_npe.h"

int
isinf(double d)
{
	if(isInf(d, 0) == 0)
		return 0;

	return isInf(d, -1) ? -1 : 1;
}