[request] [±] key, always as change of sign operator
10-12-2016, 07:27 PM (This post was last modified: 10-12-2016 11:29 PM by compsystems.)
Post: #3
 compsystems Senior Member Posts: 1,380 Joined: Dec 2013
RE: [request] [±] key, always as change of sign operator
| → cursor position
[±] → [−] sign change unary operator −(#/expr) a number or expression but not to SUM or MINUS binary operator (ruler)
[-] → minus binary operator expr1-expr2
[+] → sum binary operator expr1+expr2

case 1:
5
5|± →−5 // ok, sign change to 5
−5|± → −(−5) -> 5 // ok

case 2:
5+3
5+| 3
5+ 3 → 5+(−|3) → 5+(−3) // ok, sign change to 3 ⇒ 5+neg(3)
5+−±|3 → 5+−(−3) → 5+3

case 3:
5+3
5|+ 3 → -(5)+3 → -5+3 // ok, sign change to 5

case 4:
x → x− not acting as sign change, bad =( right no expressions
must be
x → −x

with minus operator
x|- → x- // ok

case 5:
±(+1) → neg(+1) → neg(1) → −1

case 5.1:
±+1 → neg(+1) → neg(1) → −1

case 6:
±(-1) → neg(-1) → −(-1) → 1
or
±(−1) → neg(neg(1)) → −(−1) → 1

case 6.1:
±-1 → Error Why? → neg(-1)
 « Next Oldest | Next Newest »

 Messages In This Thread [request] [±] key, always as change of sign operator - compsystems - 10-06-2016, 05:43 PM RE: [request] [±] key, always as change of sign operator - Han - 10-12-2016, 03:15 PM RE: [request] [±] key, always as change of sign operator - compsystems - 10-12-2016 07:27 PM RE: [request] [±] key, always as change of sign operator - retoa - 10-13-2016, 07:49 AM RE: [request] [±] key, always as change of sign operator - Tim Wessman - 10-13-2016, 03:57 PM

User(s) browsing this thread: 1 Guest(s)