|
1. | So the answer is that casting from a float or double to an integral value always truncates. |
| 所以答案就是:将一个float或double值造型成整数值后,总是将小数部分“砍掉”,不作任何进位处理。 |
|
|
| |
2. | }float naturalLogBase() { return 2.718f; |
| }float naturalLogBase() { return 2.718; |
|
|
| |
3. | to flutter; to wave; to float |
| 飘动 |
|
|
| |
4. | ran quickly, her flaring coat behind her; a fluttering scarf; flying banners; flags waving in the breeze. |
| 快速地奔跑,使她的外套在她身后飘动;飘动的围巾;飘动的旗帜;旗子在微风中飘动。 |
|
|
| |
5. | However, with float f4 = 1e-47f; |
| 然而,对于下述语句:float f4 = 1e-47f; |
|
|
| |
6. | 3、 为什么潜水艇既能浮在水面,又能潜入水底? |
| Why can a submarine float and sink? |
|
|
| |
7. | if you multiply a float and a double, the result will be double; |
| 若将一个float值与一个double值相乘,结果就是double; |
|
|
| |
8. | Upper or lowercase L means long, upper or lowercase F means float and upper or lowercase D means double |
| 若为大写或小写的L,代表long; 大写或小写的F,代表float; 大写或小写的D,则代表double。 |
|
|
| |
9. | an integral value to a floating-point variable, the compiler will automatically convert the int to a float |
| 例如,假设我们为浮点变量分配一个整数值,计算机会将int自动转换成float。 |
|
|
| |
10. | periodicity of frequency wobbling |
| 频率飘动周期 |
|
|
| |