summaryrefslogtreecommitdiff
path: root/src/math/fpclassify.h
blob: 131905af9eabd1367229d622d5725be10e05bfaa (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <math.h>

#define fpclassify(__x) \
	              ((sizeof (__x) == sizeof (float)) ? __fpclassifyf(__x) : \
		       (sizeof (__x) == sizeof (double)) ? __fpclassify(__x) : \
		                                          __fpclassifyl(__x))

/*
STDC(199901)
LINK(m)
*/