1. ScopeThe float and double ranges are determined by the number of digits of the index.The float index has eight digits, while the double index has 11 digits. The distribution is as follows:Float:1bit (symbol bit) 8 bits (index bit) 23 bits (tail
IEEE754 the representation of floating-point numbers. The expression range of float type data in C language is -3.4*10^38~+3.4*10^38. Double is -1.7*10^-308~1.7*10^308,long double for -1.2*10^-4932~1.2*10^4932.
Type
Number of bits
double and float are floating point types. Doubles (double type) are more accurate than float (single-precision) data and occupy more space. Double precision is twice times that of float, so a double is often used for more precise calculations.
Original text: A brief analysis of the locking problem of SQL Server to prevent the range lock of Phantom read under Serializable isolation levelThe source of this article: http://www.cnblogs.com/wy123/p/7501261.html(It is not the original works
Original text: A brief analysis of the locking problem of SQL Server to prevent the range lock of Phantom read under Serializable isolation levelThe source of this article: http://www.cnblogs.com/wy123/p/7501261.html(It is not the original works
The source of this article: http://www.cnblogs.com/wy123/p/7501261.html(It is not the original works right to retain the source, I my book still far to reach, just to link to the original text, because the following may exist some errors to amend or
Vaguely remember, floating point size seems to have a trap, because the bottom of the binary number can not accurately represent all the decimals. Sometimes there are things that make people feel strange.As in
1. ScopeThe range of float and double is determined by the number of digits of the exponent.Float has an exponential position of 8 bits, and a double has a 11-bit exponent, distributed as follows:Float1bit (sign bit) 8bits (digit digit) 23bits
1. ScopeThe float and double ranges are determined by the number of digits of the index.The float index has eight digits, while the double index has 11 digits. The distribution is as follows:Float:1bit (symbol bit) 8 bits (index bit) 23 bits (tail
First, analyze the characteristics of the basic data type, maximum and minimum values. 1, Basic type: int bits number: + Wrapper class: Java.lang.Integer Minimum: integer.min_value=-2147483648 (-2 of 31 Parties) Maximum value: integer.max_value=
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.