From 23505492d4884e2800e3093ec06443ad3178843f Mon Sep 17 00:00:00 2001 From: DrMaxNix Date: Wed, 5 Oct 2022 21:06:18 +0200 Subject: [PATCH] :memo: new command `neg` --- doc/concept.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/concept.sh b/doc/concept.sh index a6166b9..7d38f10 100644 --- a/doc/concept.sh +++ b/doc/concept.sh @@ -65,6 +65,12 @@ ${$name} +## BOOLEAN LOGIC ## +# negate the value stored in $1 +neg|negate|inv|invert $1 + + + ## MATH ## # $1 + $2 + ... => $1 add $1 $2 ... @@ -99,6 +105,9 @@ ceil $1 # round down to the last integer => $1 floor $1 +# invert the value stored in $1 +neg|negate|inv|invert $1 + ## CONDITIONS ##