← Prev in month ← Prev in thread
Next in thread → Next in month →

2's complement negative and 10 binary digits

From
[email protected] <>
Date
2012-08-01T11:44:15+00:00
ID
1076310.2866301343821453576.JavaMail.defaultUser@defaultHost
Thread
2's complement negative and 10 binary digits
hi,
this just to be sure the RFEs for ODv1.3 was tracked and so can be discussed 
and maybe added.
The RFEs are:

1) a modification to BASE(), to support two's complement negative binary 
numbers.
Use the optional 3th parameter: 'Integer MinimumLength' to specify the bit 
size of the machine word for negative numbers.
see:
https://lists.oasis-open.org/archives/office-comment/201011/msg00002.html
ref:
http://docs.oasis-open.org/office/v1.2/cd05/OpenDocument-v1.2-cd05-part2.
html#a_6_19_3_BASE

2) DEC2BIN and BIN2DEC support of more than 10 binary digits, see:
https://bugs.freedesktop.org/show_bug.cgi?id=45950
refs:
http://docs.oasis-open.org/office/v1.2/cd05/OpenDocument-v1.2-cd05-part2.
html#a_6_19_7_DEC2BIN
http://docs.oasis-open.org/office/v1.2/cd05/OpenDocument-v1.2-cd05-part2.
html#a_6_19_11_HEX2BIN

thank you in advance,
Valerio
← Prev in month ← Prev in thread
Next in thread → Next in month →