Add math library definition for isfinite. From Brennan Ashton.

This commit is contained in:
Gregory Nutt 2015-01-26 13:55:49 -06:00
parent e153959eea
commit 36d5c00ec6

View File

@ -95,6 +95,7 @@
#define isnan(x) ((x) != (x))
#define isinf(x) (((x) == INFINITY) || ((x) == -INFINITY))
#define isfinite(x) (!(isinf(x)) && (x != NAN))
/* Exponential and Logarithmic constants ************************************/