and most, perhaps, obviously-- if you're just spending your life floating in the scientist's lab, you're not actually accomplishing anything.
显而易见-,如果你只是漂浮在科学实验室里,你实际上没有完成任何事情。
What's really going on is you're floating in the psychologist's tank in their lab with the electrodes hooked up your brain.
真实的情景是你飘浮在,实验室里的心理学研究容器里,电极连接着你的脑袋。
Likewise, when in outer space, when you are orbiting the Earth, people are always floating around in these space stations.
就好比在外太空,当你在绕地球运行时,宇航员总是悬浮在太空站
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.
它直接把小数点后面的数值丢弃掉了,因为,凭直觉,那些整型数和结果应该是一个浮点数据,但是我需要一个更精确的数值。
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 have a block here and then you have something above there floating in mid air.
你在这里放一个木块,让某物漂浮在木块之上
You get glob if you mix it you get globlets of oil, or globlets of triglycerides, they're floating around in the fluid if you mix it.
你得到了一团东西,如果你把它们混合就会得到一堆小油脂团,或者说一堆甘油三酯团,如果你搅动它的话,油脂会浮在水上
For days I had dreamed about a huge, white boat floating on a vast body of water, but when my mother took me down to the levee on the day of leaving, I saw a tiny, dirty boat that was not at all like the boat I had imagined.
那些天我总是幻想着一艘,巨大的白船徜徉在宽阔的河上,但当出发那天,妈妈将我带到岸边时,我只看到一只又小又脏的船,完全不是我想的那样,“
Milton's own faculty of memory - this is the idea that I'm going to be floating here - seems to provide something like, or pose a stumbling block or an obstacle for, his attempt to write an original, divinely inspired poem.
在这里我想说,弥尔顿自己的记忆系统,似乎想提供某种东西,或者想在他写出一部原创的,伟大的诗作的尝试上设置一个障碍。
These mortgages were given out to people that couldn't afford them and today you have what you call subprime mortgages--subprime paper They issued against this paper stuff called mortgage-backed security. They securitized them and these things are all floating around now.
我们发放这些抵押贷款给那些买不起房子的人,所以现在你们看到了一种你们叫做,次级抵押贷款的金融工具--次贷票据,他们把这种票据叫做,有抵押证券,他们把有抵押证券证券化,这些证券现在在市场上被多次交易,广为流通。
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这样一个浮点数,-到另一个浮点数-,然后为我们处理除法。
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.
名字叫,我们来看一会,我先来设置下情景-,假设我想输入,抱歉,我希望你们作为用户来输入一个浮点数。
You're floating in the lab. But the experiences are identical.
只是飘浮在实验室里但体验一模一样。
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,那样我的数学实际上就是浮点数的了,包括实数,不只是整数。
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.
来看看哪儿会出问题,你可能会碰到浮点数中的溢出和下溢问题,当你碰到一系列这种问题后,可能就会适时的开始怀疑结果的正确性。
You're actually just floating in the scientist's lab.
你只是漂浮在科学实验室里。
应用推荐