Ye I know what bitwise operator does. I will ask in different way, maybe it will be clearer to you.
Why people use logical operators ( f.e. in conditions ) instead of bitwise operators? Is && <: & ? On Monday, May 30, 2016 at 9:58:02 AM UTC+2, Kaj Wiik wrote: > > > Here's a clue: > > > julia> 0b10010011 & 0b10010011 > 0x93 > > julia> 0b10010011 && 0b10010011 > ERROR: TypeError: non-boolean (UInt8) used in boolean context > > > Kaj > > > On Monday, May 30, 2016 at 9:30:22 AM UTC+3, Ford Ox wrote: >> >> For example >> true & false == true && false >> >> Is it just artifact from c where bool types don't exist? >> >
