handling case where max and min are the same
Merge pull request #458 from facebook/floating-point-foo

handling case where max and min are the same