I know that it is generally inadvisable to test floating point numbers for equality. However, is it safe to assume that 'some code' will be executed in this example?
Code:
double A, B;
A = 3.27 / 4.72;
B = A;
if(A == B)
{
//some code
}