shithub: npe

ref: 3ad15c411ee11022d633b655f7b42066a52eb60e
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;
}