shithub: npe

ref: 140d98da1c6e27684e778d91ef0b27776d521d60
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;
}