News for hackers. Stuff that matters.
Re:Checked integer arithmetic in the prospect of C23 by comex on Monday December 19, 2022 @02:25PM (#34056429)
It returns a bool, but true means error, not false.
Re:Checked integer arithmetic in the prospect of C23 by ronsor on Monday December 19, 2022 @11:41PM (#34061624)
It's not really an error. The function is just "check if this addition overflows" and tells you true, it does overflow, or false, it doesn't.