BitAnd[True,False]
- To: mathgroup at smc.vnet.net
- Subject: [mg131733] BitAnd[True,False]
- From: Alan <alan.isaac at gmail.com>
- Date: Wed, 25 Sep 2013 02:36:45 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
I'd hoped BitAnd would work on Boolean Lists so I gave it a try. If it had simply failed completely I'd be disappointed but would understand. But oddly, it half succeeds. Why? BitOr fails the same way, and BitNot always fails. I just want to understand these results. I know there are ways to get the output I want. Thanks, Alan Isaac (using Mathematica 9) In[77]:= BooleanTable[{p,q,BitAnd[p,q]},{p,q}]//TableForm Out[77]//TableForm= True True True True False BitAnd[False,True] False True BitAnd[False,True] False False False
- Follow-Ups:
- Re: BitAnd[True,False]
- From: Itai Seggev <itais@wolfram.com>
- Re: BitAnd[True,False]
- From: Sseziwa Mukasa <mukasa@gmail.com>
- Re: BitAnd[True,False]
- From: "Ernst H.K. Stelzer" <ernst.stelzer@physikalischebiologie.de>
- Re: BitAnd[True,False]
- From: John Fultz <jfultz@wolfram.com>
- Re: BitAnd[True,False]