I know that float arithmetic is tricky, but I am not sure if it is possible to get a mistake if you have a division followed by the inverse multiplication. Written in code, is it possible, that this method will return false
:
public boolean calculate(float a, float b) {
float c = a / b;
return (a == (c * b));
}