bool is_nan ( float $val )
Checks whether val is 'not a number', like the result of acos(1.01).
[More at php.net]
number $val