ExponentFunction
是 NumberForm 及其相关函数的一个选项,用来确定输出近似实数时使用的指数.
更多信息
- 当该数字以科学记数法输出时,类似 NumberForm 的函数首先找到确实会使一个数位出现在小数点左边的指数. 然后,它们选取这个指数,并把由 ExponentFunction 指定的函数应用到它上面. 如果从这个函数得到的值是一个 整数,它会被作为这个数的指数. 如果结果为Null,则该数字不会以科学记数法输出.
- 由 ExponentFunction 指定的函数的参数总是一个整数.
- 在 NumberForm 中,ExponentFunction 的默认设置不会修改指数,但对于在 -5 和 5 之间的机器数指数返回 Null,对于高精度数,如果数字没有以科学记数法输出,将插入零.
- 在 ScientificForm 中,ExponentFunction 的默认设置仅对单数字整数的实数返回 Null.
- 在 EngineeringForm 中,ExponentFunction 的默认设置返回一个 3 的倍数的指数.
- 在 AccountingForm 中,ExponentFunction 的默认设置总返回 Null.
技术笔记
-
▪
- 数字的输出格式
历史
1991年引入 (2.0)
文本
Wolfram Research (1991),ExponentFunction,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ExponentFunction.html.
CMS
Wolfram 语言. 1991. "ExponentFunction." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ExponentFunction.html.
APA
Wolfram 语言. (1991). ExponentFunction. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ExponentFunction.html 年
BibTeX
@misc{reference.wolfram_2025_exponentfunction, author="Wolfram Research", title="{ExponentFunction}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/ExponentFunction.html}", note=[Accessed: 11-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_exponentfunction, organization={Wolfram Research}, title={ExponentFunction}, year={1991}, url={https://reference.wolfram.com/language/ref/ExponentFunction.html}, note=[Accessed: 11-April-2026]}