ghex 64 bit signed and unsigned displays only show the bottom 32bits of the value.
Executive summary: Commit https://bazaar.launchpad.net/~vcs-imports/ghex/master/revision/1421 fails to fix https://bugzilla.gnome.org/show_bug.cgi?id=712187
This patch ghex-3.18.4-64bit.patch fixes the problem by providing and using a 64bit version of the pow2() function. There may well be a better way of fixing this by sprintf'ing the individual bytes (thought that doesn't match the philosophy of the conversions mentioned in a comment).
These bug has also been reported to Ubuntu as: https://bugs.launchpad.net/ubuntu/+source/ghex/+bug/1851033
Edited by Andrew C Aitchison