Merge pull request #51 from fiendish/master

isnan only accepts floats