Negative

Negative[x]

用来判断 x 是否是负数,若是则返回 True.

更多信息

  • 如果 x 明显是一个非负或复数值,Negative[x] 返回 False. 否则,它不进行计算.

范例

基本范例  (1)

不同类型数的运算:

NumericQ 的分位数保持不计算:

Wolfram Research (1988),Negative,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Negative.html.

文本

Wolfram Research (1988),Negative,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Negative.html.

CMS

Wolfram 语言. 1988. "Negative." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/Negative.html.

APA

Wolfram 语言. (1988). Negative. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/Negative.html 年

BibTeX

@misc{reference.wolfram_2024_negative, author="Wolfram Research", title="{Negative}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/Negative.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_negative, organization={Wolfram Research}, title={Negative}, year={1988}, url={https://reference.wolfram.com/language/ref/Negative.html}, note=[Accessed: 22-November-2024 ]}