为什么浮点数是“单精度”? [英] Why is a float "single precision"?

查看:202
本文介绍了为什么浮点数是“单精度”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很好奇IEEE为什么将32位浮点数称为单精度。这仅仅是标准化的一种手段,还是单一实际上是指一个单一的东西。

I'm curious as to why the IEEE calls a 32 bit floating point number single precision. Was it just a means of standardization, or does 'single' actually refer to a single 'something'.

这仅仅是标准化水平吗?例如,精度级别1(单),精度级别2(双)等等?我到处搜索,发现了大量有关浮点数的历史,但是没有什么能完全回答我的问题。

Is it simply a standardized level? As in, precision level 1 (single), precision level 2 (double) and so on? I've searched all over and found a great deal about the history of floating point numbers, but nothing that quite answers my question.

推荐答案

在我当时正在使用的计算机上,浮点数占用了单个36位寄存器。一个双占用两个36位寄存器。硬件具有单独的指令,用于操作该编号的1个寄存器和2个寄存器版本。我不确定这是术语的来源,但有可能。

On the machine I was working on at the time, a float occupied a single 36 bit register. A double occupied two 36 bit registers. The hardware had separate instructions for operating on the 1 register and 2 register versions of the number. I don't know for certain that that's where the terminology came from, but it's possible.

这篇关于为什么浮点数是“单精度”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆