Hacker News new | past | comments | ask | show | jobs | submit login

Obviously no, the first (for M==1) means exactly one is true, the latter at least one is true. But a1||...||aN is equivalent to bool(a1)+...+bool(aN)>0 (assuming no integer overflow :).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: