From fec550d039e5f4c2a21a325e905167d2f1930a66 Mon Sep 17 00:00:00 2001 From: Kai Staats Date: Thu, 7 Jul 2016 23:10:38 -0600 Subject: [PATCH] name change --- files/templates/operators_list.txt | 55 ++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 files/templates/operators_list.txt diff --git a/files/templates/operators_list.txt b/files/templates/operators_list.txt new file mode 100644 index 0000000..0f1d963 --- /dev/null +++ b/files/templates/operators_list.txt @@ -0,0 +1,55 @@ +NATIVE PYTHON OPERATORS +www.tutorialspoint.com/python/python_basic_operators.htm + +** Exponentiation (raise to the power) +~ + - Complement, unary plus and minus (method names for the last two are +@ and -@) +* / % // Multiply, divide, modulo and floor division ++ - Addition and subtraction + +>> << Right and left bitwise shift + +& Bitwise 'AND'td> +^ | Bitwise exclusive `OR' and regular `OR' + +<= < > >= Comparison operators +<> == != Equality operators + +is is not Identity operators +in not in Membership operators +not or and Logical operators + += %= /= //= -= += *= **= Assignment operators + + +GP OPERATOR GROUPS +(copy / paste into functions.cvs, giving weight through quantity of copies) + ++,2 +-,2 +*,2 +/,2 +**,2 (not recommended) + +and,2 or &,2 ??? +or,2 or |,2 ??? +not,1 or !,2 ??? # need to get 'not' to not fall at the end + ++ sin,2 +- sin,2 +* sin,2 +/ sin,2 + ++ cos,2 +- cos,2 +* cos,2 +/ cos,2 + ++ exp,2 +- exp,2 +* exp,2 +/ exp,2 + ++ sqrt,2 ++ sqrt,2 +- sqrt,2 +/ sqrt,2