aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBruce Wells <brucekwells@gmail.com>2021-03-05 04:08:57 +0300
committerGitHub <noreply@github.com>2021-03-05 04:08:57 +0300
commitaa37abbaeb73ac1cac5798608da51d813e976a25 (patch)
treeb5c4bd335e52536ccab6f4533290d7d6fc3f8596 /README.md
parent16dde0115816e69a7964d14cd3f5e63e80a89cd9 (diff)
Release prep (#86)V2.1.8
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 2 insertions, 5 deletions
diff --git a/README.md b/README.md
index f589116..645a069 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@
* Unlimited variable name lengths
* String support, as function parameters or as evaluated as a number by PHP
* Exceptions on divide by zero, or treat as zero
-* Unary Minus (e.g. -3)
+* Unary Plus and Minus (e.g. +3 or -sin(12))
* Pi ($pi) and Euler's number ($e) support to 11 decimal places
* Easily extensible
@@ -176,9 +176,6 @@ $executor->addOperator("/", false, 180, function($a, $b) {
echo $executor->execute('1/0');
```
-## Unary Minus Operator:
-Negative numbers are supported via the unary minus operator. Positive numbers are not explicitly supported as unsigned numbers are assumed positive.
-
## String Support:
Expressions can contain double or single quoted strings that are evaluated the same way as PHP evalutes strings as numbers. You can also pass strings to functions.
@@ -202,4 +199,4 @@ Full class documentation via [PHPFUI/InstaDoc](http://phpfui.com/?n=NXP&c=MathEx
## Future Enhancements
-This package will continue to track currently supported versions of PHP. PHP 7.1 and earlier support will be dropped when PHP 8 is released.
+This package will continue to track currently supported versions of PHP.