问题描述
⁞
这些是使用浮点表示法以 IEEE-64 表示的数字。我想使用 Octave 编写一个代码,通过使用 while 循环来表达上述所有数字。所以,我是这样试的。
x=2^(1023);
t=1;
r=2^(t)-1;
k=1+r*(2^(-52));
while x < 2^(1024)
t=t+1;
r=r;
k=k;
x=x*k;
xmax=x
fprintf('x=x*(%4d)=%20.19e \n',k,xmax)
%pause
endwhile
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)