NonNegative
NonNegative[x]
gives True if x is a non‐negative number.
Details
- NonNegative[x] gives False if x is manifestly a negative or complex numerical quantity. Otherwise, it remains unevaluated.
Examples
Basic Examples (1)
Evaluate different types of numbers:
Quantities that are not NumericQ remain unevaluated:
Wolfram Research (1988), NonNegative, Wolfram Language function, https://reference.wolfram.com/language/ref/NonNegative.html.
Text
Wolfram Research (1988), NonNegative, Wolfram Language function, https://reference.wolfram.com/language/ref/NonNegative.html.
CMS
Wolfram Language. 1988. "NonNegative." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NonNegative.html.
APA
Wolfram Language. (1988). NonNegative. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NonNegative.html