← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Logic reformulation in Plot_Edges_Modules

 

Indeed.

a   b   !(!a || !b) a && b
0   0   0           0
0   1   0           0
1   0   0           0
1   1   1           1


Please be careful. I'm guessing that this patch was untested.

On Tue, Apr 12, 2016 at 04:23:18PM -0500, José Ignacio wrote:
> I don't believe that's correct !(!a || !b) is equal to a && b (de
> morgan) http://hyperphysics.phy-astr.gsu.edu/hbase/electronic/ietron/demorgan2.gif
> 
> On Tue, Apr 12, 2016 at 4:16 PM, Pereira, Patrick
> <patrick.pereira@xxxxxxxxx> wrote:
> > Hi,
> >
> > Corrections to avoid unnecessary boolean operations
> > !(!a || !b) = a || b
> >
> > Best Regards,
> > _______________________________________________
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help   : https://help.launchpad.net/ListHelp
> >
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


References