Doubleprecision floatingpoint format
doubleprecision floatingpoint format fp16, doubleprecision floatingpoint formatDoubleprecision floatingpoint format is a computer number format that occupies 8 bytes 64 bits in computer memory and represents a wide, dynamic range of values by using a floating point
Doubleprecision floatingpoint format usually refers to binary64, as specified by the IEEE 754 standard, not to the 64bit decimal format decimal64 In older computers, different floatingpoint formats of 8 bytes were used, eg, GWBASIC's doubleprecision data type was the 64bit MBF floatingpoint format
Floating point precisionsIEEE 754  



Other  


2 1 − 1023 = 2 − 1022 =2^  smallest exponent for normal numbers  
e=100000001012=40516=1029:  2 1029 − 1023 = 2 6 =2^  
e=111111111102=7fe16=2046:  2 2046 − 1023 = 2 1023 =2^  highest exponent 
The exponents 00016 and 7ff16 have a special meaning:
 00016 is used to represent a signed zero if F=0 and subnormals if F≠0; and
 7ff16 is used to represent ∞ if F=0 and NaNs if F≠0,
where F is the fractional part of the significand All bit patterns are valid encoding
Except for the above exceptions, the entire doubleprecision number is described by:
− 1 sign × 2 e − 1023 × 1 fraction \times 2^\times 1
In the case of subnormals e=0 the doubleprecision number is described by:
− 1 sign × 2 1 − 1023 × 0 fraction = − 1 sign × 2 − 1022 × 0 fraction \times 2^\times 0=1^\times 2^\times 0
Endiannessedit
This section is transcluded from Endianness edit  historyAlthough the ubiquitous x86 processors of today use littleendian storage for all types of data integer, floating point, BCD, there are a few historical machines where floating point numbers are represented in bigendian form while integers are represented in littleendian form2 There are old ARM processors that have half littleendian, half bigendian floating point representation for doubleprecision numbers: both 32bit words are stored in littleendian like integer registers, but the most significant one first Because there have been many floating point formats with no "network" standard representation for them, the XDR standard uses bigendian IEEE 754 as its representation It may therefore appear strange that the widespread IEEE 754 floating point standard does not specify endianness3 Theoretically, this means that even standard IEEE floating point data written by one machine might not be readable by another However, on modern standard computers ie, implementing IEEE 754, one may in practice safely assume that the endianness is the same for floating point numbers as for integers, making the conversion straightforward regardless of data type Small embedded systems using special floating point formats may be another matter however
Doubleprecision examplesedit
0 01111111111 00000000000000000000000000000000000000000000000000002 ≙ +20·1 = 1 
0 01111111111 00000000000000000000000000000000000000000000000000012 ≙ +20·1 + 2−52 ≈ 10000000000000002, the smallest number > 1 
0 01111111111 00000000000000000000000000000000000000000000000000102 ≙ +20·1 + 2−51 ≈ 10000000000000004 
0 10000000000 00000000000000000000000000000000000000000000000000002 ≙ +21·1 = 2 
1 10000000000 00000000000000000000000000000000000000000000000000002 ≙ −21·1 = −2 
0 10000000000 10000000000000000000000000000000000000000000000000002 ≙ +21·112  = 112 = 3 
0 10000000001 00000000000000000000000000000000000000000000000000002 ≙ +22·1  = 1002 = 4 
0 10000000001 01000000000000000000000000000000000000000000000000002 ≙ +22·1012  = 1012 = 5 
0 10000000001 10000000000000000000000000000000000000000000000000002 ≙ +22·112  = 1102 = 6 
0 10000000011 01110000000000000000000000000000000000000000000000002 ≙ +24·101112  = 101112 = 23 
0 00000000000 00000000000000000000000000000000000000000000000000012  ≙ +2−1022·2−52 = 2−1074 ≈ 49·10−324 
Min subnormal positive double 
0 00000000000 11111111111111111111111111111111111111111111111111112  ≙ +2−1022·1 − 2−52 ≈ 22250738585072009·10−308 
Max subnormal double 
0 00000000001 00000000000000000000000000000000000000000000000000002  ≙ +2−1022·1 ≈ 22250738585072014·10−308 
Min normal positive double 
0 11111111110 11111111111111111111111111111111111111111111111111112  ≙ +21023·1 + 1 − 2−52 ≈ 17976931348623157·10308 
Max Double 
0 00000000000 00000000000000000000000000000000000000000000000000002 ≙ +0  
1 00000000000 00000000000000000000000000000000000000000000000000002 ≙ −0  
0 11111111111 00000000000000000000000000000000000000000000000000002 ≙ +∞  positive infinity 
1 11111111111 00000000000000000000000000000000000000000000000000002 ≙ −∞  negative infinity 
0 11111111111 10000000000000000000000000000000000000000000000000002 ≙ NaN  
0 11111111111 11111111111111111111111111111111111111111111111111112 ≙ NaN  an alternative encoding 
0 01111111101 01010101010101010101010101010101010101010101010101012 = 3fd5 5555 5555 555516 
≙ +2−2·1 + 2−2 + 2−4 + + 2−52 ≈ 1/3 
By default, 1/3 rounds down, instead of up like single precision, because of the odd number of bits in the significand
In more detail:
Given the hexadecimal representation 3FD5 5555 5555 555516, Sign = 0 Exponent = 3FD16 = 1021 Exponent Bias = 1023 constant value; see above Fraction = 5 5555 5555 555516 Value = 2Exponent − Exponent Bias × 1Fraction – Note that Fraction must not be converted to decimal here = 2−2 × 15 5555 5555 555516 × 2−52 = 2−54 × 15 5555 5555 555516 = 0333333333333333314829616256247390992939472198486328125 ≈ 1/3Execution speed with doubleprecision arithmeticedit
Using double precision floatingpoint variables and mathematical functions eg, sin, cos, atan2, log, exp and sqrt are slower than working with their single precision counterparts One area of computing where this is a particular issue is for parallel code running on GPUs For example, when using NVIDIA's CUDA platform, on video cards designed for gaming, calculations with double precision take 3 to 24 times longer to complete than calculations using single precision4
Implementationsedit
Doubles are implemented in many programming languages in different ways such as the following On processors with only dynamic precision, such as x86 without SSE2 or when SSE2 is not used, for compatibility purpose and with extended precision used by default, software may have difficulties to fulfill some requirements
C and C++edit
C and C++ offer a wide variety of arithmetic types Double precision is not required by the standards except by the optional annex F of C99, covering IEEE 754 arithmetic, but on most systems, the double type corresponds to double precision However, on 32bit x86 with extended precision by default, some compilers may not conform to the C standard and/or the arithmetic may suffer from doublerounding issues5
Common Lispedit
Common Lisp provides the types SHORTFLOAT, SINGLEFLOAT, DOUBLEFLOAT and LONGFLOAT Most implementations provide SINGLEFLOATs and DOUBLEFLOATs with the other types appropriate synonyms Common Lisp provides exceptions for catching floatingpoint underflows and overflows, and the inexact floatingpoint exception, as per IEEE 754 No infinities and NaNs are described in the ANSI standard, however, several implementations do provide these as extensions
JavaScriptedit
As specified by the ECMAScript standard, all arithmetic in JavaScript shall be done using doubleprecision floatingpoint arithmetic6
Luaedit
In Lua version 527 and earlier, all arithmetic is done using doubleprecision floatingpoint arithmetic Also, automatic type conversions between doubles and strings are provided
See alsoedit
 IEEE floating point, IEEE standard for floatingpoint arithmetic IEEE 754
Notes and referencesedit
 ^ William Kahan 1 October 1997 "Lecture Notes on the Status of IEEE Standard 754 for Binary FloatingPoint Arithmetic" PDF
 ^ "Floating point formats"
 ^ "pack – convert a list into a binary representation"
 ^ http://wwwtomshardwarecom/reviews/geforcegtxtitangk110review,34383html
 ^ GCC Bug 323  optimized code gives strange floating point results
 ^ ECMA262 ECMAScript Language Specification PDF 5th ed Ecma International p 29, §85 The Number Type
 ^ http://wwwluaorg/manual/52/manualhtml



Uninterpreted 

Numeric 

Text 

Pointer 

Composite 

Other 

Related topics 

See also platformdependent and independent units of information 
doubleprecision floatingpoint format, doubleprecision floatingpoint format fp16
Doubleprecision floatingpoint format Information about

Doubleprecision floatingpoint format beatiful post thanks!
29.10.2014
Doubleprecision floatingpoint format
Doubleprecision floatingpoint format
Doubleprecision floatingpoint format viewing the topic.
There are excerpts from wikipedia on this article and video
Random Posts
Book
A book is a set of written, printed, illustrated, or blank sheets, made of ink, paper, parchment, or...Boston Renegades
Boston Renegades was an American women’s soccer team, founded in 2003 The team was a member of the U...Sa Caleta Phoenician Settlement
Sa Caleta Phoenician Settlement can be found on a rocky headland about 10 kilometers west of Ibiza T...Bodybuilding.com
Bodybuildingcom is an American online retailer based in Boise, Idaho, specializing in dietary supple...Search Engine
Our site has a system which serves search engine function.
You can search all data in our system with above button which written "What did you look for? "
Welcome to our simple, stylish and fast search engine system.
We have prepared this method why you can reach most accurate and most up to date knowladge.
The search engine that developed for you transmits you to the latest and exact information with its basic and quick system.
You can find nearly everything data which found from internet with this system.
Random Posts
Modern philosophy
Modern philosophy is a branch of philosophy that originated in Western Europe in the 17th century, a...Tim Shadbolt
Timothy Richard "Tim" Shadbolt born 19 February 1947 is a New Zealand politician He is the Mayor of ...HK Express
Andrew Cowen Deputy CEO Website wwwhkexpresscom HK Express Traditional Chinese 香港快運航空...List of shrinking cities in the United States
The following municipalities in the United States have lost at least 20% of their population, from a...© Copyright © 2014. Search Engine