The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
[request] [±] key, always as change of sign operator
10-06-2016, 05:43 PM (This post was last modified: 10-12-2016 08:30 PM by compsystems.)
Post: #1
[request] [±] key, always as change of sign operator
sorry for my bad English

Currently the unary operator CHange of Sign (CHS), function NEG() is operating only for numbers on entry line =(

the key [±] is associated with NEG() operator

neg(5) → -5 // ok
5[±] → -5
x [±] → x- // in this case acts as subtraction operator binary =(, and there is a dedicated key for subtraction [-],two keys for the same operation

My suggestion is that the key associated change of sign [±] always acts always as neg(), It is very useful to change the sign to an expression without having to be returned to the start of it, for example

(a-b) [±] → -(a-b) and not as (a-b)-
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[request] [±] key, always as change of sign operator - compsystems - 10-06-2016 05:43 PM



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