compare handles signed bits