Assuming I add the relative suffix (like INFINITY##f) would decrementing it give the max value of the type? Reason being is I'm trying to extract that value out of GCC builtins:
Code:
#ifdef __HAVE_FLOAT16
typedef _Float16 paw16fd;
#ifdef INFINITY
#define PAW16FD_INF (__builtin_huge_inf16())
#else
#define PAW16FD_MAX (__builtin_huge_val16())
#endif
#endif
Related question, I extracted that __HAVE_FLOAT16 from the math.h library, is that actually a defined GCC gives or is that just something defined in one it's included headers? Haven't been able to find it yet nor any information on it.