Post Reply 
Problem with -2<-1 returns 1 => true
06-16-2018, 10:03 PM (This post was last modified: 07-24-2018 05:07 PM by compsystems.)
Post: #1
Problem with -2<-1 returns 1 => true
Hello
A simple update for the next firmware.
Please, improve the consistency in the output

HOME MODE == NUMERICAL MODE
CAS MODE == SYMBOLIC MODE

-2<-1 returns 1 (ok for numerical value for HOME), but for the output for CAS mode should be: true

1 or 1 returns 1
1 xor 1 returns 1

It works very well in other cases, for example

not(-2≤-1) returns false (ok)

1 AND 1 returns true

Another examples
[Image: relationalOperators_hp_prime_versus_xcas.png]

Xcas SIMPLIFY MAXIMUM:
(x+y)^2 == x^2+2*x*y+y^2 returns: true, hpprime returns 1

Xcas NONE OR SIMPLIFY MINIMUM:
(x+y)^2 == x^2+2*x*y+y^2 returns: false, hpprime returns 0
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Problem with -2<-1 returns 1 => true - compsystems - 06-16-2018 10:03 PM
RE: -2<-1 returns 1 => true - Jean-Michel - 06-19-2018, 11:20 AM
RE: -2<-1 returns 1 => true - compsystems - 06-20-2018, 05:05 PM
RE: -2<-1 returns 1 => true - compsystems - 06-28-2018, 07:49 PM
RE: -2<-1 returns 1 => true - compsystems - 07-20-2018, 02:45 PM



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