Max Value for 32bit Timers
Are we agreed that the data in the 32bit Hours/Lamp/Lamp Strike counters is unsigned ? ie max value is 0xFFFFFFFF ?
As far as I can see we do not explicitly state this anywhere in the document - apologies if I have missed it. regards Peter Willis |
Yes. I can't think of any situation where there would be negative lamp hours, and anything other than an unsigned integer would only lead to confusion.
|
Yes, everything should be unsigned values so that the max value should be 0xFFFFFFFF.
It would also be a good idea for these type fields to not roll over if they exceed the 0xFFFFFFFF value and instead just remain at that Max value. |
Just a note that this was discussed at the Jan 19th 2007 Task group meeting in Dallas and that Scott's response reflected the consensus of the group at that time.
Peter Willis |
All times are GMT -6. The time now is 04:07 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.