You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Isn't it best to avoid a direct comparison of doubles?
Since we Normalize so especially to use == operator
I think its best to use the negligibility check instead
example
double a = iopen_0;
double b = iclose_1;
if ( MathAbs(a-b) < Point() )
{
// then a == b..
}
Isn't it best to avoid a direct comparison of doubles?
Since we Normalize so especially to use == operator
I think its best to use the negligibility check instead
example
double a = iopen_0;
double b = iclose_1;
if ( MathAbs(a-b) < Point() )
{
// then a == b..
}
This is a 1 year old thread from april/2018, I think it is all well explained on it, with every possible details.