Does true equal to 1 and false equal to 0? - Stack Overflow C++ mandates that when converting bool to integral types true evaluates to 1 and false evaluates to 0, and from integral float types it says that a zero-Value, soo 0 and -0 evaluate to false, all other values evaluàte to true bool is an integral type but not an integer