1. The limited precision of float is simply not sufficient for many situations.
在很多情况下,float类型的精度很难满足需求。
2. annual:每年的
annual salary:年薪
precisely:精确的
Seven significant(decimal) digits may be enough to precisely express your annual salary in dollars and cents.
but it won't be enough for your company president's salary.
用7位有效数字足以精确地表示普通雇员的年薪,但表示公司总裁的年薪可能就够用了。
3. a large number of:大量的
in the rare situations:在很少的情况下
the slightly faster processing:快速的处理
The only reasons to use float are in the rare situations in which the slightly faster processing of single-precision numbers in important
or when you need to store a large number of them.
实际上,只有很少的情况适合使用float类型,例如,需要快速地处理单精度数据,或者需要存储大量数据。
4. suffix:后缀
Numbers of type float have a suffix F.
5. consider:认为、把...视为
Floating-point numbers without an F suffix are always considered to be of type double.
在很多情况下,float类型的精度很难满足需求。
2. annual:每年的
annual salary:年薪
precisely:精确的
Seven significant(decimal) digits may be enough to precisely express your annual salary in dollars and cents.
but it won't be enough for your company president's salary.
用7位有效数字足以精确地表示普通雇员的年薪,但表示公司总裁的年薪可能就够用了。
3. a large number of:大量的
in the rare situations:在很少的情况下
the slightly faster processing:快速的处理
The only reasons to use float are in the rare situations in which the slightly faster processing of single-precision numbers in important
or when you need to store a large number of them.
实际上,只有很少的情况适合使用float类型,例如,需要快速地处理单精度数据,或者需要存储大量数据。
4. suffix:后缀
Numbers of type float have a suffix F.
5. consider:认为、把...视为
Floating-point numbers without an F suffix are always considered to be of type double.