Negative

Negative[x]

gives True if x is a negative number.

Details

  • Negative[x] gives False if x is manifestly a nonnegative or complex numerical quantity. Otherwise, it remains unevaluated.

Examples

Basic Examples  (1)

Evaluate different types of numbers:

In[1]:=
Click for copyable input
Out[1]=

Quantities that are not NumericQ remain unevaluated:

In[2]:=
Click for copyable input
Out[2]=

See Also

NonNegative  Positive  NonPositive  RealSign  Less  Simplify  Assumptions

Introduced in 1988
(1.0)