Java Float/Double 类型和 VB.NET 的 Float/Double 类型有区别吗?
编辑:它们都使用相同的规范吗? (IEEE 754)
最佳答案
Holds signed IEEE 64-bit (8-byte) double-precision floating-point numbers that range in value from -1.79769313486231570E+308 through -4.94065645841246544E-324 for negative values and from 4.94065645841246544E-324 through 1.79769313486231570E+308 for positive values. Double-precision numbers store an approximation of a real number.
The double data type is a double-precision 64-bit IEEE 754 floating point. Its range of values is beyond the scope of this discussion, but is specified in the Floating-Point Types, Formats, and Values section of the Java Language Specification. For decimal values, this data type is generally the default choice.
关于java - Java Float/Double 和 VB.NET 的 Float/Double 有区别吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16979057/