isnan
From cppreference.com
                    
                                        
                    
                    
                                                            
                    | Defined in header <math.h>
  | ||
| #define isnan(arg) /* implementation defined */ | (since C99) | |
Determines if the given floating point number arg is not-a-number (NaN). The macro returns an integral value.
[edit] Parameters
| arg | - | floating point value | 
[edit] Return value
Nonzero integral value if arg is NaN, 0 otherwise.
[edit] See also
| (C99) | categorizes the given floating point value (function) | 
| (C99) | checks if the given number has finite value (function) | 
| (C99) | checks if the given number is infinite (function) | 
| (C99) | checks if the given number is normal (function) |