# Weak positivity

In SageMath one can ask if x.is_positive{}. But this is the definition of strickt positivity. What or the weak case (i.e. $x >=0$) ?

Weak positivity

add a comment

0

It is obvious that $x \geq 0$ if and only if it is not the case that $x<0$. So, we can write

```
not(x.is_negative())
```

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

Asked: ** 2019-09-21 13:16:15 +0200 **

Seen: **71 times**

Last updated: **Oct 01 '19**

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.