Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
douchescript
· 10y ago · 0 comments
There's always the overflow flag in the cpu, I don't get why it's not readily available in C when needed.
Comments
[–]
effie
10y ago
Indeed, strange. There are also other flags for floating point exceptions, but I have never heard about anyone actually using them. I'd like to have a look at language that supports these flags - do you know any?
[–]
douchescript
OP
10y ago
The compilers have it, google __builtin_add_overflow as an example.