views:

53

answers:

1

Hi, I was looking at new features of C99 and saw the floating point environment:

#include <fenv.h>

My question is simple. If I'm performing floating point number computations, do I have to include the above preprocessor directive in my code? If no, then what does this directive do and when does it become important to include?

Thanks a lot...

+2  A: 

You only need to include the fenv.h header if you intend to use any of the features it provides. Those features are described here-

leeeroy
Thanks for the link.
yCalleecharan