OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: [OASIS Issue Tracker] Commented: (OFFICE-3771) Public Comment: 2's complement negative and 10 binary digits

    [ http://tools.oasis-open.org/issues/browse/OFFICE-3771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31418#action_31418 ] 

Andreas Guelzow  commented on OFFICE-3771:

I have never encountered  any special negative expressions  other than 2s-complement for base 2, and that is really just a storage method specifically for use in computers. So I wouldn't expect it for any other bases.

So if one wanted to have conversion of negative numbers to 2s-complement that should be build into dec2bin (and bin2dec) rather than BASE.

I still can't see sufficient use for that.

> Public Comment: 2's complement negative and 10 binary digits
> ------------------------------------------------------------
>                 Key: OFFICE-3771
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3771
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>            Reporter: Robert Weir 
>            Priority: Blocker
> Copied from office-comment list
> Original author: efa@iol.it" <efa@iol.it>
> Original date: 2012 04:44:15 -0700 (PDT)
> Original URL:  http://lists.oasis-open.org/archives/office-comment/201208/msg00000.html
> From the post:
> 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

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]