From 8b68c4260a0ca62165a8294ad9bb9dc72abd3d35 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Thu, 9 Oct 2025 12:29:58 -0300 Subject: [PATCH 1/2] Remove "Logical NOT" non-existent operator --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index efe555c..91f9380 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,6 @@ A powerful C++ mathematical expression parser library with support for **complex | Not Equal | `a != b` | Inequality | `3 != 4 = true` | | Logical AND | `a && b`, `a and b` | Logical conjunction | `true && false = false` | | Logical OR | `a || b`, `a or b` | Logical disjunction | `true || false = true` | -| Logical NOT | `!a` | Logical negation | `!true = false` | | Bitwise AND | `a & b` | Bitwise conjunction | `5 & 3 = 1` | | Bitwise OR | `a | b` | Bitwise disjunction | `5 | 3 = 7` | | Left Shift | `a << b` | Bitwise left shift | `1 << 3 = 8` | From cf138ba0cf9765fc50288baa94e273e0b235510e Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Thu, 9 Oct 2025 12:37:26 -0300 Subject: [PATCH 2/2] Fix Logical OR and Bitwise OR --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 91f9380..dbfd9e8 100644 --- a/README.md +++ b/README.md @@ -154,9 +154,9 @@ A powerful C++ mathematical expression parser library with support for **complex | Equal | `a == b` | Equality | `3 == 3 = true` | | Not Equal | `a != b` | Inequality | `3 != 4 = true` | | Logical AND | `a && b`, `a and b` | Logical conjunction | `true && false = false` | -| Logical OR | `a || b`, `a or b` | Logical disjunction | `true || false = true` | +| Logical OR | a || b, a or b | Logical disjunction | true || false = true | | Bitwise AND | `a & b` | Bitwise conjunction | `5 & 3 = 1` | -| Bitwise OR | `a | b` | Bitwise disjunction | `5 | 3 = 7` | +| Bitwise OR | a | b | Bitwise disjunction | 5 | 3 = 7 | | Left Shift | `a << b` | Bitwise left shift | `1 << 3 = 8` | | Right Shift | `a >> b` | Bitwise right shift | `8 >> 3 = 1` |