incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 115798] DEC2BIN() and HEX2BIN(): support of more than 10 binary digits
Date Sun, 12 Feb 2012 04:03:27 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=115798

e_mugur@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |e_mugur@yahoo.com

DEC2BIN() and HEX2BIN(): support of more than 10 binary digits, like BASE() do.

While 10 digit are enough for decimal and hex numbers, 10 bit are very few for
a
binary number. Consider that as two's complement representation, the range is
restricted to -512 / +511 only.

As now, on the other side, BASE() do not support negative numbers, so there is
no solution to represent high negative numbers.

I saw that OpenDocument Formula require 10 digit, but let implement more than
10
digit (say "implementation-defined"):

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

--- Comment #1 from e_mugur@yahoo.com 2012-02-12 04:03:27 UTC ---
binary places must be 32 up to 64 as modern cpu bus

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Mime
View raw message