Can somebody explain me, how this works:
return ( factor ==
In a nutshell:
return foo == bar;
is equivalent to
return foo == bar ? 1 : 0;
since relational operators like == yield either 0 or 1. Does that make it clear?
==