← Prev in month ← Prev in thread

[OASIS Issue Tracker] Commented: (OFFICE-2740) Needs-discussion:5.5 Unary Prefix/Postfix operators

From
OASIS Issues Tracker <>
Date
2010-06-29T10:46:13+00:00
ID
1221113156.3341277808373378.JavaMail.tomcat55@mw00
Thread
[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
← Prev in month ← Prev in thread