Re: [Mesa-dev] [PATCH] mesa: Portably detect the availability of fpclassify.

2013-12-04 Thread Ian Romanick
On 11/20/2013 01:15 PM, Jonas 'Sortie' Termansen wrote: > POSIX 2008 mandates fpclassify, FP_INFINITE, FP_NAN, FP_NORMAL, FP_SUBNORMAL, And C99. > and FP_ZERO are all macros and we can therefore detect them through simple > preprocessor conditionals on compliant platforms. This avoids further gro

[Mesa-dev] [PATCH] mesa: Portably detect the availability of fpclassify.

2013-11-20 Thread Jonas 'Sortie' Termansen
POSIX 2008 mandates fpclassify, FP_INFINITE, FP_NAN, FP_NORMAL, FP_SUBNORMAL, and FP_ZERO are all macros and we can therefore detect them through simple preprocessor conditionals on compliant platforms. This avoids further growth of the current preprocessor list of platforms that has fpclassify. I