When the language level is set to extended which is the default, infinity and NaN values can be passed as arguments to the scanf and printf families of library functions, and to the string conversion and math functions. At other language levels, these functions work as described in this book.

This section describes how the library functions handle the infinity and NaN values.


[Back] [Next]