You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added comment explaining how we "narrowly escape" undefined behavior with our `NTOA_ABS()` macro.
* Added checks for printing extremal values of the various signed and unsigned integer types, just in case.
* Added comment explaining how we "narrowly escape" undefined behavior with our `NTOA_ABS()` macro.
* Added checks for printing extremal values of the various signed and unsigned integer types, just in case.
The library has undefined behavior in some cases, due to applying the unary negation operator indiscriminately. For example, when we print:
we internally have an
int value
variable with valueINT_MIN
, and then we take-value
(or0 - value
). That's undefined! Not good.The text was updated successfully, but these errors were encountered: