This account it's used only for work topics (ia, sec, viri, RE, Ontologies, code, ...). For other topics (politics and other), follow me at @mrescalada
- Tweets2K
- Following294
- Followers82
- Likes606

ALT Text: "Because of wraparound, an unsigned integer expression can never evaluate to less than 0. It's easy to lose track of this and implement comparisons that are always true or false. For example, the i in the following for loop can never take on a negative value, so this loop will never terminate:...This behavior has caused some notable real-world bugs. For example, all six power-generating systems on a Boeing 787 are managed by a corresponding generator control unit. Boeing's laboratory testing discovered that an internal software counter in the generator control unit wraps around after running continuously for 248 days,...This defect causes all six generator control units on the engine-mounted generators to enter fail-safe mode at the same time. To avoid unplanned behavior (such as having your airplane fall from the sky), it's important to check for wraparound by using the limits from <limits.h>...




















