NumberMarks
Usage
• NumberMarks是InputForm及其相关函数的可选项,用来指定在近似数的输出形式中是否应包含 ` 标记.
Notes
• NumberMarks 的缺省设置由的$NumberMarks值给出. • NumberMarks->True指明` 应被使用到除机器精度数和任意精度数外的所有近似数中. • NumberMarks -> Automatic指明应被使用在除机器精度数外的任意精度数中. • NumberMarks -> False 指明在输出数中从不使用 `. • 数值标记用来指明数值的类型,及它们的精确度或准确度.
• 科学记数法的*^形式总被使用在InputForm中,且与NumberMarks无关.
Further Examples
In standard output form, numbers are printed to 6 digits.
In[1]:=
|
Out[1]=
|
In input form, all known digits are printed.
In[2]:=
|
Out[2]//InputForm=
|
Here is an arbitrary-precision number in standard output form.
In[3]:=
|
Out[3]=
|
In input form, Mathematica explicitly indicates the precision of the number and gives extra digits to make sure the number can be reconstructed correctly.
In[4]:=
|
Out[4]//InputForm=
|
This makes Mathematica not explicitly indicate precision.
In[5]:=
|
Out[5]//InputForm=
|
|