# Difference between Single Precision and Double Precision

According to IEEE standard, floating-point number is represented in two ways:

Precision |
Base |
Sign |
Exponent |
Significand |

Single precision | 2 | 1 | 8 | 23+1 |

Double precision | 2 | 1 | 11 | 52+1 |

**1. Single Precision:**

Single Precision is a format proposed by IEEE for representation of floating-point number. It occupies 32 bits in computer memory.

**2. Double Precision:**

Double Precision is also a format given by IEEE for representation of floating-point number. It occupies 64 bits in computer memory.

**Difference between Single and Double Precision:**

SINGLE PRECISION | DOUBLE PRECISION |
---|---|

In single precision, 32 bits are used to represent floating-point number. | In double precision, 64 bits are used to represent floating-point number. |

It uses 8 bits for exponent. | It uses 11 bits for exponent. |

In single precision, 23 bits are used for mantissa. | In double precision, 52 bits are used for mantissa. |

Bias number is 127. | Bias number is 1023. |

Range of numbers in single precision : 2^(-126) to 2^(+127) |
Range of numbers in double precision : 2^(-1022) to 2^(+1023) |

This is used where precision matters less. | This is used where precision matters more. |

It is used for wide representation. | It is used for minimization of approximation. |

It is used in simple programs like games. | It is used in complex programs like scientific calculator. |

This is called binary32. | This is called binary64. |

Please refer Floating Point Representation for details.

Don’t stop now and take your learning to the next level. Learn all the important concepts of Data Structures and Algorithms with the help of the most trusted course: **DSA Self Paced**. Become industry ready at a student-friendly price.

## Recommended Posts:

- Program for conversion of 32 Bits Single Precision IEEE 754 Floating Point Representation
- Difference between Single Bus Structure and Double Bus Structure
- Difference between float and double in C/C++
- Difference between Single and Multiple Inheritance in C++
- Difference between Single User and Multi User Database Systems
- Double DES and Triple DES
- Introduction of Single Accumulator based CPU organization
- Working of 8085-based Single board microcomputer
- Differences between Single Cycle and Multiple Cycle Datapath
- Differences between Single Datapath and Pilpeline Datapath
- Single pass, Two pass, and Multi pass Compilers
- Difference between LAN, MAN and WAN
- Difference between LAN and WAN
- Difference between RAM and ROM
- Difference Between GIT and SVN
- Difference between CRT and LCD
- Difference between CD and DVD
- Difference between DFA and NFA
- Difference Between Blu-Ray and DVD
- Difference between LED and LCD

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.