ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0004057 | Part 01: TTCN-3 Core Language | Clarification | public | 29-08-2008 04:14 | 10-12-2008 12:22

Reporter | Thomas DeiÃŸ |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | minor | Reproducibility | N/A
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.1.1 (published 2009-06) | Fixed in Version | v4.1.1 (published 2009-06) |
Clause Reference(s) | part 1, 7.1.1
Source (company - Author) | Nokia Siemens Networks, Thomas DeiÃŸ

Summary | 0004057: unary + undefined
Description | The meaning of the unary + operator is not defined in the standard (the unary minus is defined). In the example var integer x := -3; var integer y; y := +x; what is the value of y after the assignment? Is it 3 or is -3? I.e. does the unary + does have any effect?
Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files |

Issue History
Date Modified | Username | Field | Change
29-08-2008 04:14 | Thomas DeiÃŸ | New Issue |
29-08-2008 04:14 | Thomas DeiÃŸ | Status | new => assigned
29-08-2008 04:14 | Thomas DeiÃŸ | Assigned To | => Ina Schieferdecker
29-08-2008 04:14 | Thomas DeiÃŸ | Clause Reference(s) | => part 1, 7.1.1
29-08-2008 04:14 | Thomas DeiÃŸ | Source (company - Author) | => Nokia Siemens Networks, Thomas DeiÃŸ
19-09-2008 07:16 | Thomas DeiÃŸ | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
25-11-2008 12:42 | Ina Schieferdecker | Note Added: 0007404 |
25-11-2008 12:43 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Thomas DeiÃŸ
25-11-2008 12:43 | Ina Schieferdecker | Resolution | open => fixed
25-11-2008 12:43 | Ina Schieferdecker | Target Version | => Edition 4.1.1 (not yet published)
26-11-2008 08:09 | Thomas DeiÃŸ | Note Added: 0007435 |
26-11-2008 08:09 | Thomas DeiÃŸ | Assigned To | Thomas DeiÃŸ => Ina Schieferdecker
10-12-2008 12:22 | Ina Schieferdecker | Status | assigned => resolved
10-12-2008 12:22 | Ina Schieferdecker | Fixed in Version | => Edition 4.1.1 (not yet published)
10-12-2008 12:22 | Ina Schieferdecker | Status | resolved => closed

Notes

(0007404)
Ina Schieferdecker
25-11-2008 12:42

In 7.1.1 Arithmetic operators, the following should be added:
"In the case where plus (+) or minus (-) is used as the unary operator the rules for operands apply as well. The result of using the minus operator is the negative value of the operand if it was positive and vice versa."
-->
"In the case where plus (+) or minus (-) is used as the unary operator the rules for operands apply as well. The result of using the minus operator is the negative value of the operand if it was positive and vice versa. The result of using the plus operator is the value of the operand, i.e. a positive value if the operand value was positive and a negative value if the operand value was negative."

(0007435)
Thomas DeiÃŸ
26-11-2008 08:09

ok.