
我得到近似值:
>> 729 / 4^3
11.391
是否存在某些函数可以获得更精确的近似值?
答案1
更新:
octave:1> 729/4^3
ans = 11.391
octave:2> format long
octave:3> 729/4^3
ans = 11.3906250000000
octave:4>
您是否尝试过“格式长“ 命令?
我现在正在安装 Octave。我上大学时曾经用过它和 Matlab。
我得到近似值:
>> 729 / 4^3
11.391
是否存在某些函数可以获得更精确的近似值?
更新:
octave:1> 729/4^3
ans = 11.391
octave:2> format long
octave:3> 729/4^3
ans = 11.3906250000000
octave:4>
您是否尝试过“格式长“ 命令?
我现在正在安装 Octave。我上大学时曾经用过它和 Matlab。