That code is totally bizarre.
Why would anyone write it that way?
Most of the variables are defined outside your posted snippet.
Please tell us what this code does.
This statement is always false by definition:
d > d
Try changing this code:
} else if (j == false) { // <---------------------------- error
if (((d < 1.0D || d > d) ? false : true) == false)
c = 7;
}
to this:
} else if ((j == 0) && (d < 1d)) c = 7;