# How to get 'true' or 'false' for inequality?

For equality, I have to type = twice. Like this: == . But what about inequalities?

How to get 'true' or 'false' for inequality?

For equality, I have to type = twice. Like this: == . But what about inequalities?

add a comment

2

<, >, <= or >=

You don't have to do anything special. The reason for the distinction for equal is you can set something equal to 5 or you can test if something is equal to 5. These are very different. Since you don't set something >= 5, you don't need a separate symbol for testing if something is greater than or equal to 5.

Please start posting anonymously - your entry will be published after you log in or create a new account.

Asked: ** 2012-02-27 13:26:44 +0200 **

Seen: **161 times**

Last updated: **Feb 27 '12**

proving inequalities with SAGE? [closed]

simplifying rational inequality results

multiplication -1 with a inequality

Wrong answer on inequality problem

Extract equalities from a list of assumptions

Proof inequality given some assumptions on the variables

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.