为什么浮动被称为'浮动',而不是'真实'? [英] Why float is called as 'float', not 'real'?
问题描述
大家好日子。这听起来像是一个愚蠢的问题,但我昨天只好好好看了好几个教科书,我查了几本教科书。但是,没有
计算机语言教科书(我已经提到过)。所以我是
问你,大师......
有没有什么特别的理由称''浮''而不是''真实'' ?
Good day everyone. This sounds like a stupid question, but I became
just curious yesterday, and I looked up several textbooks. However, no
textbooks on computer language (that I have ) mentioned this. So I am
asking to you, gurus...
Is there any particular reason to call ''float'' instead of ''real''?
推荐答案
3月24日上午12:13,DirtyHarry < kim20 ... @ gmail.comwrote:
On Mar 24, 12:13 am, "DirtyHarry" <kim20...@gmail.comwrote:
大家好日子。这听起来像是一个愚蠢的问题,但我昨天只好好好看了好几个教科书,我查了几本教科书。但是,没有
计算机语言教科书(我已经提到过)。所以我是
问你,大师......
有没有什么特别的理由称''浮''而不是''真实'' ?
Good day everyone. This sounds like a stupid question, but I became
just curious yesterday, and I looked up several textbooks. However, no
textbooks on computer language (that I have ) mentioned this. So I am
asking to you, gurus...
Is there any particular reason to call ''float'' instead of ''real''?
你称之为''double'' - real32?
我当然不会精通历史这些语言(我怀疑这可以追溯到C)尽管如此,Fortran是我遇到的唯一使用REAL的
语言。当然,理性,非理性等等 - 数字是真实算术的近似值,我怀疑机器精度限制起着重要作用。超出
,我不确定推动力是什么。
What you call ''double'' - real32?
I''m certainly not well versed in the history of the languages ( I
suspect this dates back to C ) nonetheless, Fortran is the only
language I''ve encountered that used REAL. Granted, rational,
irrational etc - numbers are approximations of real arithmetic, I
suspect machine precision limitations plays an important role. Beyond
that I''m unsure what the impetus is.
DirtyHarry写道:
DirtyHarry wrote:
大家好日子。这听起来像是一个愚蠢的问题,但我昨天只好好好看了好几个教科书,我查了几本教科书。但是,没有
计算机语言教科书(我已经提到过)。所以我是
问你,大师......
有没有什么特别的理由称''浮''而不是''真实'' ?
Good day everyone. This sounds like a stupid question, but I became
just curious yesterday, and I looked up several textbooks. However, no
textbooks on computer language (that I have ) mentioned this. So I am
asking to you, gurus...
Is there any particular reason to call ''float'' instead of ''real''?
float代表浮点而不是固定点。这是一个比真实更准确的描述。因为并非所有实数都是由浮点数表示的
。
float stands for "floating point" as opposed to "fixed point". It is a
more accurate description than "real" since not all real numbers are
representable by a floating point number.
" DirtyHarry" < ki ****** @ gmail.com写信息
新闻:11 ********************** @ e65g2000hsc .googlegr oups.com ...
"DirtyHarry" <ki******@gmail.comwrote in message
news:11**********************@e65g2000hsc.googlegr oups.com...
大家好日子。这听起来像是一个愚蠢的问题,但我昨天只好好好看了好几个教科书,我查了几本教科书。但是,没有
计算机语言教科书(我已经提到过)。所以我是
问你,大师......
有没有什么特别的理由称''浮''而不是''真实'' ?
Good day everyone. This sounds like a stupid question, but I became
just curious yesterday, and I looked up several textbooks. However, no
textbooks on computer language (that I have ) mentioned this. So I am
asking to you, gurus...
Is there any particular reason to call ''float'' instead of ''real''?
因此,如果我们将浮点数称为真实,这是否意味着我们必须将int称为假货?
浮点数更具描述性相信。
So if we call a float a real, does that mean we have to call an int a fake?
float is more descriptive I believe.
这篇关于为什么浮动被称为'浮动',而不是'真实'?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!