okay, (on linux) you find math.h in /usr/include/ which includes a
file /usr/include/bits/mathcalls.h
there are three functions
int finite(double x) -- returns 1, if x is not NaN or inf
int isinf(double x) -- returns 1, if x is inf or -inf
int isnan(double x) -- returns 1, if x is NaN

int finitef(float x),
int isnanf(float x), and
int isinff(float x)
are the float versions.

_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to