logoalt Hacker News

adgjlsfhk1last Tuesday at 10:20 PM3 repliesview on HN

> On the other hand, detecting integer overflow in software is extremely expensive

this just isn't true. both addition and multiplication can check for overflow in <2 instructions.


Replies

nine_klast Tuesday at 11:36 PM

Fewer than two is exactly one instruction. Which?

show 1 reply
adrian_blast Tuesday at 10:51 PM

[flagged]

show 1 reply