I was wondering what the equivalent to
would be in C.Code:numeric_limits<double>::infinity() numeric_limits<double>::quiet_NaN() numeric_limits<double>::signaling_NaN()
I have tried
and many other variants with no success.Code:#include <float.h> isinf (DBL_MAX + 1)
I would also rather use a macro or a function rather than doing something
like
Regards,Code:isinf (exp (100000))
crei




Reply With Quote