shithub: npe

ref: 0d98a32151079982dd23af0f3eca91b971eb1d6b
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;
}