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-2740) Needs-discussion:5.5 Unary Prefix/Postfix operators



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

Eike Rathke commented on OFFICE-2740:
-------------------------------------

There is no specialty with duplication, all unary operators work as designed or usual or ... you name it.
1%% is identical to ((1)%)%, ++1 is identical to +(+(1)) , --1 is identical to -(-(1))

To avoid confusion we should simply remove ", it can be duplicated (1%%), and it does not change the meaning of other operations such as "+"."
Of course it does not change the meaning of other operations, otherwise that should be noted instead.


> Needs-discussion: 5.5 Unary Prefix/Postfix operators
> ----------------------------------------------------
>
>                 Key: OFFICE-2740
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-2740
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: OpenFormula
>    Affects Versions: ODF 1.2 CD 05
>            Reporter: Eric Patterson
>
> In the comments about the percentage(%) unary postfix operator, it says:
> Postfix unary operator % (divide by 100). Note that this is legal with expressions (e.g., [.B1]%), it can be duplicated (1%%), and it does not change the meaning of other operations such as "+".
> How is duplicating the operator (1%%) defined?
> Also, for the prefix operators (+,-), there is no mention of duplicating the operators, is this allowed, defined?

-- 
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]