Just a fast question:
I’m trying to test if a variable is not greater than or equal to another variable.
I have it coded as such:
if (f!>=i){
print ("True");}
but my c compiler won’t recognize it. I can’t find it online, is it possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just change it to
(f < i)which is!(f >= i).Note: this is not the case if either
foriisNaN. This is becausef >= iwill evaluate tofalseif either isNaNleading to!(f >= i)evaluating totruewheref < ievaluates tofalse.