View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002295 | 10000-006: Mappings | public | 2012-11-30 15:09 | 2013-01-22 19:45 | |
Reporter | Assigned To | Randy Armstrong | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.03 | ||||
Summary | 0002295: Handling/Replacing of NaN with NaN should cause DataChange notifications | ||||
Description | CMPWG 11/29/2012: The following text comes from an email circulation that occurred yesterday (11/29/2012) and contains all information: Hello everyone, I have concluded my testing and wanted to share the results with you. Today we learned (CMPWG) that NaN is a special value that cannot be compared to itself, i.e. “NaN == NaN” will return FALSE. There are typically special operators/methods for comparing NaN such as “isNan(value)” in Javascript. We have a test-case that follows the IEEE guidelines which we needed to test in order to determine if UA spec updates are needed. I tested JavaScript’s compliance with IEEE and found that it is compliant, i.e. Our test case, and expected results:
Test results are as follows: Conclusion: We have 1 out of 4 platforms that work in accordance with IEEE. We should test the stack from EmbeddedLabs also. It seems like we need a clarification (errata) to the UA Specs (p4?p6?) regarding the handling of NaN. The CTT script used in testing is shown below this email. Question: Do we agree to add a Mantis to UA Part 4/6 requesting commentary on handling NaN per IEEE requirements? Or revise the test-case? Thanks everyone, Nate. /* Test prepared by Nathan Pocock; nathan.pocock@opcfoundation.org (29-Nov-2012)
*/ function test023()
} safelyInvoke( test023 ); | ||||
Tags | No tags attached. | ||||
Commit Version | |||||
Fix Due Date | |||||
|
More critical issue - deadbands. |
|
From my point of view a change from a NaN to the same NaN (same bit pattern) does not require a notification. However every change in bit pattern should be notified. Of course any change between a valid number and any other bit pattern (and vice versa) should be notified independent to deadband. |
|
Added text to OPC UA Part 6 - Mappings DRAFT 1.03.01 Specification |
|
Reviewed and modified text 1.03.02 in meeting. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-11-30 15:09 |
|
New Issue | |
2012-12-04 07:54 | Ustinov Vetcheslav | Note Added: 0004354 | |
2012-12-11 18:16 | Jim Luth | Status | new => assigned |
2012-12-11 18:16 | Jim Luth | Assigned To | => Randy Armstrong |
2012-12-12 09:26 | Thomas Merk | Note Added: 0004372 | |
2012-12-29 15:55 | Randy Armstrong | Status | assigned => resolved |
2012-12-29 15:55 | Randy Armstrong | Resolution | open => fixed |
2012-12-29 15:55 | Randy Armstrong | Note Added: 0004379 | |
2013-01-22 18:19 | Jim Luth | Status | resolved => closed |
2013-01-22 18:19 | Jim Luth | Note Added: 0004425 | |
2013-01-22 19:45 | Jim Luth | Fixed in Version | => 1.03 |