LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Possible Fixed-Point and U64 addition bug

When adding a fixed-point number to a U64 with the output configured to be a U64, the result is either 1 higher or 1 lower than expected depending on the rounding settings.  See snippet below for demo.  I tried this in both LabVIEW 2015 and LabVIEW 2017 with the same result for each.

FXP U64 Bug.png

Edit: Attached Snippet due to snippets not downloading correctly.

 

 

0 Kudos
Message 1 of 3
(2,215 Views)

Thank you for the nice snippet showing all the examples!

 

You are right. That doesn't seem like correct behavior to me either. I'll look into this and possibly file a bug report for you on this problem.

Casey G.
0 Kudos
Message 2 of 3
(2,157 Views)

I contacted NI Support to get a CAR for the issue.  The CAR is 684427.

0 Kudos
Message 3 of 3
(2,060 Views)