Semipredicate problem

Edge case where the signalling of failure is ambiguous / From Wikipedia, the free encyclopedia

Dear Wikiwand AI, let's keep it short by simply answering these key questions:

Can you list the top facts and stats about Semipredicate problem?

Summarize this article for a 10 years old

SHOW ALL QUESTIONS

In computer programming, a semipredicate problem occurs when a subroutine intended to return a useful value can fail, but the signalling of failure uses an otherwise valid return value.[1] The problem is that the caller of the subroutine cannot tell what the result means in this case.