Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
afdbcreid
1 day ago
|
parent
|
context
|
favorite
| on:
Reducing undefined behavior in the C language
Because it invokes UB.
help
kstrauser
1 day ago
[–]
Well, yes, but as a C decidedly-not-an-expert, I didn't understand what kind of UB it was invoking that could make all three of those expressions simultaneously false.
reply
afdbcreid
5 hours ago
|
parent
[–]
That is your mistake, right here. UB can cause everything, there does not need to be a "reason" or "kind of UB".
(If you are looking for an explanation how it happens in practice, see the other comment).
reply
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: