Github user omalley commented on the issue:
https://github.com/apache/orc/pull/252
I should comment while adding the tests that it became clear that I didn't
need the sign change logic, because (10**18 - 1 )* 2 < 2**63. So by enforcing
the 10**18 limit, I didn't need the more complicated sign change detection.---
