parameters: (v)
return_statement: return False
docstring: provides an OS independent way of detecting NaNs
    This is intended to be used with values returned from the C++
    side of things.
  
    We can't actually test this from Python (which traps
    zero division errors), but it would work something like
    this if we could:
  
    >>> isNaN(0)
    False
  
    #>>> isNan(1/0)
    #True
docstring_summary: provides an OS independent way of detecting NaNs
    This is intended to be used with values returned from the C++
    side of things.
docstring_tokens: provides an OS independent way of detecting NaNs This is intended to be used with values returned from the C ++ side of things .
function: def isNaN(v):
    """ provides an OS independent way of detecting NaNs
    This is intended to be used with values returned from the C++
    side of things.
  
    We can't actually test this from Python (which traps
    zero division errors), but it would work something like
    this if we could:
  
    >>> isNaN(0)
    False
  
    #>>> isNan(1/0)
    #True
  
    """
    if v != v and sys.platform == 'win32':
      return True
    elif v == 0 and v == 1 and sys.platform != 'win32':
      return True
    return False
function_tokens: def isNaN ( v ) : if v != v and sys . platform == 'win32' : return True elif v == 0 and v == 1 and sys . platform != 'win32' : return True return False