This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

static __inline int __isnan(volatile double x)

Expert 1215 points

Hi,

In math.h v6.1.5, I noticed that the argument of isnan is declared as "volatile". I wonder what the reason could be. This "volatile" seems to prevent this function from being inlined.

Thanks