Mathematica > Testing Expressions >

Negative

Negative[x]
gives True if x is a negative number.
  • Negative[x] gives False if x is manifestly a non-negative or complex numerical quantity. Otherwise, it remains unevaluated.
New in 1
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team