Skip to content

Commit 7428a00

Browse files
authored
Update README removing invalid operators (#58)
## Summary - Fix Markdown table formatting for Logical OR and Bitwise OR operators - Remove non-existent "Logical NOT" operator from the operators table ## Details This PR addresses formatting issues in the README's operators table: 1. **Removed Logical NOT operator**: This operator was listed in the table but [doesn't exist in the library's implementation](https://beltoforion.de/en/muparserx/). 2. **Fixed Logical OR operator display**: Changed from plain text `a || b` to HTML entity encoding `<code>a &#124;&#124; b</code>` to prevent Markdown table parsing issues 3. **Fixed Bitwise OR operator display**: Changed from plain text `a | b` to HTML entity encoding `<code>a &#124; b</code>` to prevent Markdown table cell separation issues
1 parent 3a79bde commit 7428a00

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,9 @@ A powerful C++ mathematical expression parser library with support for **complex
154154
| Equal | `a == b` | Equality | `3 == 3 = true` |
155155
| Not Equal | `a != b` | Inequality | `3 != 4 = true` |
156156
| Logical AND | `a && b`, `a and b` | Logical conjunction | `true && false = false` |
157-
| Logical OR | `a || b`, `a or b` | Logical disjunction | `true || false = true` |
158-
| Logical NOT | `!a` | Logical negation | `!true = false` |
157+
| Logical OR | <code>a &#124;&#124; b</code>, <code>a or b</code> | Logical disjunction | <code>true &#124;&#124; false = true</code> |
159158
| Bitwise AND | `a & b` | Bitwise conjunction | `5 & 3 = 1` |
160-
| Bitwise OR | `a | b` | Bitwise disjunction | `5 | 3 = 7` |
159+
| Bitwise OR | <code>a &#124; b</code> | Bitwise disjunction | <code>5 &#124; 3 = 7</code> |
161160
| Left Shift | `a << b` | Bitwise left shift | `1 << 3 = 8` |
162161
| Right Shift | `a >> b` | Bitwise right shift | `8 >> 3 = 1` |
163162

0 commit comments

Comments
 (0)