>>12766382... so the term simplifies to
which is positive in an range where both sin() and cos() function are positive,
zero in a range where exactly one, either sin() or cos() is negative, while the other is positive,
and a negative for ranges where both sin() and cos() are negative