I have const float M = 0.000001; and float input;. I want to not equality check on them. But I know direct check has side effect M != input. So, my question how I can compare two float value without side effect ?
const float M = 0.000001;
float input;
M != input
No comments:
Post a Comment