PPRuNe Forums - View Single Post - Boeing 787 integer overflow bug
View Single Post
Old 22nd May 2015, 15:34
  #63 (permalink)  
EEngr
 
Join Date: Jan 2011
Location: Seattle
Posts: 717
Likes: 0
Received 3 Likes on 2 Posts
I was wondering, why would you need to have a signed value if it is a simple counter...
Because signed integer math and conditional logic can give you positive/negative interval values. As in one event occurred before or after another. And there may be places in the code where this would be expected.
EEngr is offline