added NaN test for check_greater_or_equal
added doc in code for check_greater_or_equal