On Friday, 26 April 2013 at 06:01:27 UTC, Walter Bright wrote:
On 4/25/2013 10:49 PM, Ali Çehreli wrote:It certainly behaves that way but it isn't an integer type and that's why it is unintuitive.But it is an integer type.
Walter, you've confused "Boolean arithmetic" with "binary arithmetic".
Boolean arithmetic: 1 + 1 = 1 Binary arithmetic: 1 + 1 = 0 "bool" means Boolean value, "bit" means binary integer.The entire confusion in this thread is because you're mixing up the two.
