Created
November 16, 2012 17:16
-
-
Save c0ldlimit/4089113 to your computer and use it in GitHub Desktop.
Python: Checking if nan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
x=float('nan') | |
math.isnan(x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment