[Libreoffice-bugs] [Bug 122111] Hex2DEC not converting right

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Dec 17 15:03:49 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=122111

--- Comment #9 from GerardF <gerard.fargeot at orange.fr> ---
Hexadecimal "d5caef682d" if not signed is 918232721453 in decimal and
1101010111001010111011110110100000101101 in binary.

Which is a 40 bit number, and the 1st bit is 1.
So this is a negative number as per specification :
http://docs.oasis-open.org/office/v1.2/cs01/OpenDocument-v1.2-cs01-part2.html#__RefHeading__1018822_715980110

All 10 digits hexadecimal beginning with 8-F are negative. (1-7 are positive)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181217/91393cc0/attachment-0001.html>


More information about the Libreoffice-bugs mailing list