Comparing inequalities: always false

hjbortol shared this question 2 years ago
Answered

Define:


a = 1 < x

b = 1 < x


The boolean expression a == b returns false ...

Comments (2)

photo
1

== does not work with functions see ie x==x

photo
1

We'll improve that for simple inequalities soon (probably it still won't work for complex ones)


Comparing functions works fine, eg

f==g

© 2023 International GeoGebra Institute