r*******y 发帖数: 1081 | 1 bool f(double x){
return x==x;
}
Thanks. |
A**u 发帖数: 2458 | |
r*******y 发帖数: 1081 | 3 I mean if one people uses this function, what does he try to do.
【在 A**u 的大作中提到】 : ?
|
y***d 发帖数: 2330 | 4 if one people uses this function, he uses it to ask "if one people uses this
function, what does he try to do."
the job of this function is to be in a question
【在 r*******y 的大作中提到】 : I mean if one people uses this function, what does he try to do.
|
t****t 发帖数: 6806 | 5 for double x, "x==x" means x is not NaN.
【在 r*******y 的大作中提到】 : bool f(double x){ : return x==x; : } : Thanks.
|
t****t 发帖数: 6806 | 6 lol this is smart answer, but usually not expected answer.
this
【在 y***d 的大作中提到】 : if one people uses this function, he uses it to ask "if one people uses this : function, what does he try to do." : the job of this function is to be in a question
|
y***d 发帖数: 2330 | 7 Of course... only after seeing the answer
阳阳怎么了?
【在 t****t 的大作中提到】 : for double x, "x==x" means x is not NaN.
|
r*******y 发帖数: 1081 | 8 this should be a good point.
thanks.
【在 t****t 的大作中提到】 : for double x, "x==x" means x is not NaN.
|