[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

isfinite is not portable

From: Jason Stover
Subject: isfinite is not portable
Date: Thu, 7 Dec 2006 11:14:59 -0500
User-agent: Mutt/1.5.10i

data-out.c calls isfinite, but BSD's math.h has no such function.

Since we already link to gsl, I recommend using 

int gsl_finite (const double X)
     This function returns 1 if X is a real number, and 0 if it is
     infinite or not-a-number.

This function is declared in gsl_math.h.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]