浮点数英语怎么说

admin2024年11月01日中英词典1440

本文为您带来浮点数的英文翻译,包括浮点数用英语怎么说,浮点数用英语怎么说,浮点数的英语造句,浮点数的

本文为您带来浮点数的英文翻译,包括浮点数用英语怎么说浮点数用英语怎么说浮点数的英语造句浮点数的英文原声例句浮点数的相关英语短语等内容。

浮点数的英文翻译,浮点数的英语怎么说?

  • floating-point number ; floating number

浮点数的英语网络释义

(7)浮点数(Floating Point)是指把任何一个数都表示成 仅有一位整数和若干位十进制小数再乘上一个指数、 来表示一个数的表示方法,(其中,指数是以2或 其他...

数值数据类型类: (1)整数:整数没有小数部分;即,没有小数位的单个整数值; (2)浮点数(FLOAT/DOUBLE):表示包含整数部分,小数部分或同时包括二者的近似值数值;此类数据类型使用服务器主机的CPU所用的本机二进制浮点格式(IEEE...

b)浮点数(Floating Point Number):使用假数以及指数两部分来表示数值。 例如:一个不含正负号的四位数十进制,包含三位整数和一位小数; 定点数所能表示...

... integer整数(1、2、3、4、5、0、-1、-2、等等) double浮点数(小数点) array阵列 ...

浮点数的汉英大词典

浮点数

  • floating number; floating-point number

浮点数的英语短语

  • 浮点数类型FLOAT;Number

  • 最小正浮点数realmin;reingmin

  • 最大正浮点数realmax;reingmax

  • 最大浮点数Realmax;reingmax

  • 最小浮点数Realmin

  • 返回除法的浮点数余数fmod

  • 单精度浮点数Single;single-precision floating point number;flost;float

  • 对浮点数进行四舍五入round

浮点数的英文例句

如果我们回想一下我们一开始讲过的据对象的种类,浮点数,整,字符串,它们实际上有相同的行为方式。

If we go back up to the kinds of data objects we started with, floats, ints, strings, they actually behave the same way.

它只是返回一个表示温度的浮点

All it does is return a floating point number representing the temperature.

最好完全避免使用浮点比较。

It would be best to try to avoid floating point comparison entirely.

所以f不是已经是个浮点数了吗?

So isn't f already a float?

ebnf样式的浮点描述。

EBNF-style description of floating point number.

为什么需要用单独的宏进行浮点比较?

Why do you need separate macros for floating point comparisons?

那将会给我们一个浮点数

That's going to give me a float.

还可以使用指表示浮点数,参见清单8。

Floats can also be expressed using exponents, as shown Listing 8.

它就给我一个浮点数

It hands me a float.

浮点:一个浮点

Float: a floating point number.

浮点则不是这样。

The same is not true for floating-point numbers.

简单类型包括字符串、浮点数、整、枚举等。

Simple types include string, float, integer, enumeration, etc.

浮点并不是实

Floating-point Numbers are not real Numbers.

如果您读取的浮点,还有另外需要关注的问题。

If you're reading a floating point number, there are other concerns.

坐标值是字(小浮点数等),不是字符串。

The coordinate values are numeric (decimal, float, etc.), not character strings.

随着字变大,它们之间的浮点数就会越来越少。

As Numbers get larger, there are fewer floats between them.

所以我可以通过改变其中一个,整型浮点

And I can fix this just by changing one of those values to a floating point.

浮点不是精确值,所以使用它们会导致舍入误差。

Floating point Numbers are not exact, and manipulating them will result in rounding errors.

适应性公式返回的是介于0和1之间的一个浮点

The fitness formula should return a floating point number between 0 and 1.

“普通消费者不需要双精度(浮点数支持)”他说。

"Consumers don't need double precision," he said.

正如你希望的我要试着把他们转化为浮点,等一等。

And as you might expect, I'm going to then try and see if I can convert that into a float.

我想确保这儿我得到的是一个浮点,我该怎么做呢?

I can't rely on the user. I want to make sure I get a float in it, so how do I do that?

Google提供清单9所示的宏以支持浮点比较。

Google provides the macros shown in Listing 9 for floating point comparisons.

对于浮点,您将在整部分和小部分之间放置小点。

For floating-point Numbers, you place a decimal as the separator between the whole part of the number and the fraction.

当然,这并不总是可能的,但您应该意识到要限制浮点比较。

This is, of course, not always possible, but you should be aware of the limitations of floating point comparison.

IEEE 754用科学记法以底为2的小来表示浮点

IEEE 754 represents floating point Numbers as base 2 decimal Numbers in scientific notation.

区别在于一个事实:计算机中使用的浮点据类型无法包含每个实

The difference lies in the fact that floating-point data types used in computers can't hold every real number.

由有限精度浮点字引起的很小的舍入错误就会严重歪曲学精度计算。

Mathematically precise calculations can be thrown severely askew by small round-off errors caused by finite-precision floating-point Numbers.

浮点最好用来表示象测量值这类值,这类值从一开始就不怎么精确。

Floating point Numbers are best reserved for values such as measurements, whose values are fundamentally inexact to begin with.

浮点最好用来表示象测量值这类值,这类值从一开始就不怎么精确。

Floating point Numbers are best reserved for values such as measurements, whose values are fundamentally inexact to begin with.

浮点数的原声例句

And as you might expect, I'm going to then try and see if I can convert that into a float.

正如你希望的我要试着把他们转化为浮点数,等一等。

Last time we checked the type and said if it is a float you're okay. If not, carry on.

并且会告之是否是一个浮点数,如果不是继续循环。

It just throws the decimal point away and that's because, again, these are ints and the answer intuitively should be a floating point value, but I need to be more specific.

它直接把小点后面的值丢弃掉了,因为,凭直觉,那些整型和结果应该是一个浮点数据,但是我需要一个更精确的值。

So what that means is the compiler is actually going to first "cast" so to speak 13 from whatever it is - to a float -- to a floating point value -- and then perform the division for us.

所以这里的意思是编译器将,做“计算“,譬如13这样一个浮点数,-到另一个浮点数-,然后为我们处理除法。

But if it is not, it's going to print out a message here saying, you screwed up, somewhat politely, and it's going to go back around. So it'll just cycle until I get something of the right type.

但是输入不是浮点数的话,我这里就会显示一个消息说,你搞砸了,该稍微有点礼貌吧?,然后我们继续执行循环,一直到得到正确类型的输入。

I could generalize this pretty nicely. Imagine the same kind of idea where I want to simply say I want to take input of anything and try and see how to make sure I get the right kind of thing. I want to make it polymorphic.

对吧,我试着输入浮点数,我能更好的一般化它,想象下类似的想法,我需要输入些什么,然后看看输入的是否正确,我想使他更多元化些。

0 >> David: Yeah, so I very deliberately changed this 9 to a 9.0 so that my math would actually be floating point math involving real numbers and not just integers.

>,大卫:是的,我故意地把9改成9,那样我的学实际上就是浮点数的了,包括实,不只是整

And he quite correctly, because he's more senior than I am, more experienced than I am, said it's actually a good thing.

你可以用加法来加浮点数,他很明显是正确的,因为他比我年长些,比我更有经验些。

Last thing to say is why would you want to have exceptions? Well, let's go back to that case of inputting a simple little floating point.

最后要讲的是为什么有异常处理?,回到输入一个简单的小浮点数的例子,如果我期望主要是。

You can run into issues of things like overflow, underflow, with floating point numbers and when you see a whole bunches of ones, it's particularly a good time to be suspicious.

来看看哪儿会出问题,你可能会碰到浮点数中的溢出和下溢问题,当你碰到一系列这种问题后,可能就会适时的开始怀疑结果的正确性。

Could be ints, could be floats, could be a combination of things, some ints, some floats, some lists, some strings, some lists of lists, whatever.

但是我们知道组内部的元素,可以是任何对象,可能是整也可能是浮点数,也可能是对象的组合,一些整

I can't rely on the user. I want to make sure I get a float in it, so how do I do that?

我想确保这儿我得到的是一个浮点数,我该怎么做呢?

And I can fix this just by changing one of those values to a floating point.

所以我可以通过改变其中一个,整型浮点数

OK, says it says enter a float. I give it something that can be converted into a float, it says fine. I'm going to go back and run it again though. If I run it again, it says enter a float.

好了,看到他说输入一个浮点数,我输入它可以转换为浮点数的值,那没问题,我回过来再运行一遍,如果我再运行一遍。

And in that case, in general lists, I need to figure out what's the access time.

一些浮点数,一些字符串,一些组内部的组,各种各样。

Second thing to notice, is that little piece of pseudo code is telling me things about values.

然后需要注意的是,这些伪代码告诉了一些关于值方面的事情,我需要一个浮点数

And that then let's me get to, basically, base this code. Having done that, height I simply call base with get float, I call height with get float, and do the rest of the work.

现在让我们看看这段代码,其实已经写好了,我简单的调用下,用来得到一个浮点数,再调用下,来得到另外一个浮点数,然后做剩下的工作就可以了。

ReadFloat We'll look at it in a second. Let me sort of set the stage up for this -- suppose I want to input -- I'm sorry I want you as a user to input a floating point number.

名字叫,我们来看一会,我先来设置下情景-,假设我想输入,抱歉,我希望你们作为用户来输入一个浮点数

So a floating point value again is a number with a decimal point, so it depends.

一个浮点据就是一个,带小点的

The reason I want to point this out to you is, if we go back up to the kinds of data objects we started with, floats, ints, strings, they actually behave the same way.

我要为大家指出这一点的原因是,如果我们想一下以前讲过的,据类型的种类,浮点数,整,字符串,它们实际上有相同的行为方式。

Need to get the base in. Second thing I want to do, I need to get the height, so I'm going to input a value for the height, also as a float, a floating point.

也就是输入底的值,第二件我想要做的,事情就是得到三角形的高,因此我会输入一个值作为三角形的高,同样也是一个浮点数

If I wanted to get full, real division, I should make one of them a float.

如果我想要得到真正的除法答案,我需要把他们之中的一个,变为浮点数类型。

Then I'd be multiplying a float by 5, so that's a float times an int.

然后我们把这个浮点数乘以,那是浮点数乘以整型

- And then I divide by an int -- that's okay because so long as you have a float involved at some point early on, you're okay.

然后我除以一个整型-,那是可以的因为现在为止,我们在之前已经,引入了一个浮点数,你是对的。

Now, this is not the nicest way to do it but it'll work. I can look at the type of the value of base and compare it to the type of an actual float and see, are they the same?

这不是最好的办法但它确实有用,我可以得到底的值的类型然后,和一个真的浮点数的类型比比,看他们是不是一样?

It means anybody using that little function get float doesn't have to worry about what's inside of it. So for example, I decide I want to change the message I print out, I don't have to change the function, I just pass in a different parameter.

这代表着用这个方法去获得浮点数,的任何人都不用担心具体的实现了,例如,如果我想改变下,显示的信息的话,我不必去改变方法,我传个不同的参就可以了。

Well I'm relying on the contract, if you like, that the manufacturer of square root put together, which is, if I know I'm giving it two floats, which I do because I make sure they're floats, the contract, if you like, of square root says I'll give you back a float.

好吧我能靠一些类似合约来保证,如果这么说你喜欢的话,其实就是当求平方根的方法,获得了两个我已经确认了是浮点数后,这个类似合约的东西就会保证,返回一个浮点数

So if I were to solve this problem, here's the way I would do it. I would say, first thing I want to do, is I want to input a value for the base as a float.

如果我想要解决这个问题,这就是我要解决它的方式了,第一件我要做的事情就是要,输入一个浮点数作为三角形的底。

Instead divide an int by a floating point value.

我们用一个整型除以浮点数

I say, "Get me a float."

我说:“给我一个浮点数

浮点数的网络释义

浮点数 浮点数是属于有理数中某特定子集的数的数字表示,在计算机中用以近似表示任意某个实数。具体的说,这个实数由一个整数或定点数(即尾数)乘以某个基数(计算机中通常是2)的整数次幂得到,这种表示方法类似于基数为10的科学记数法。

以上关于浮点数的英语翻译来自英汉大词典,希望对您学习浮点数的英语有帮助。