On Tue, Apr 12, 2016 at 09:16:00PM +, Pereira, Patrick wrote:
> Hi,
>
> Corrections to avoid unnecessary boolean operations
> !(!a || !b) = a || b
You just insulted DeMorgan :D Hope the code is better
--
Lorenzo Marcantonio
CZ Srl - Parma
signature.asc
Description: PGP signature
__
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
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
wrote:
> Hi,
>
> Corrections to avoid unnecessary boolean operations
> !(!a || !b) = a || b
>
> B
Hi,
Corrections to avoid unnecessary boolean operations
!(!a || !b) = a || b
Best Regards,From 5903b024c6f2dcd3010a4700b4a5feb032594b33 Mon Sep 17 00:00:00 2001
From: "Patrick J.P"
Date: Tue, 12 Apr 2016 18:08:49 -0300
Subject: [PATCH 1/1] Logic reformulation in Plot_Edges_Modules
Corrections t
4 matches
Mail list logo