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

Yes, I was hasty. Boolean true should be ~0.



Converting true=1 to true=~0 is trivial: negate the value, or subtract from zero.




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

Search: