def isNaN(value):
 return ((_exponent(value) == 2047) and (not _zero_mantissa(value)))

def isNaN ( value ) : return ( ( _exponent ( value ) == 2047 ) and ( not _zero_mantissa ( value ) ) )
determine if the argument is a ieee 754 nan value .