SlideShare una empresa de Scribd logo
1 de 14
 
What are Real Numbers? Real Numbers include: ,[object Object],[object Object],[object Object],[object Object],15 3148 -27 2/7 99/100 14.75 0.000123 100.159 π √ 3 340.1155 22.9 In Computing, real numbers are also known as  floating point numbers
Standard Form Standard form is a scientific notation of representing numbers as a  base  number and an  exponent . Using this notation: The decimal number  8674.26  can be represented as 8.67426 x 10 3 , with  mantissa =  8.67426 ,   base =  10  and exponent =  3 The decimal number  753.34  can be represented as 7.5334 x 10 2 ,  with  mantissa =   7.5334 ,   base =  10  and exponent =  2 The decimal number  0.000634  can be represented as 6.34 x 10 -3 ,  with mantissa  =  6.34 ,   base =  10  and exponent =  -3 Any number can be represented in any number base in the form  m x b e
Floating Point Notation In floating point notation, the real number is stored as 2 separate bits of data A storage location called the  mantissa  holds the complete number without the point. A storage location called the  exponent  holds the number of places that the point must be moved in the original number to place it at the left hand side.
Floating Point Notation What is the exponent of  10110.110 ? The  exponent is 5 , because  the decimal point has to be moved 5 places to get it to the left hand side. The exponent would be represented as  0101  in binary
Floating Point Notation How would  10110.110  be stored using 8 bits for the mantissa and 4 bits for the exponent? We have already calculated that the  exponent is 5  or  0101 . 10110.110  =  10110110  x  2 5   =  10110110  x  2 0101 It is not necessary to store the ‘x’ sign or the base because it is always 2. Mantissa Exponent
Floating Point Notation How would  24.5  be stored  using  8 bits for the mantissa and 4 bits for the exponent?  In binary, the numbers after the decimal point have the following place values: 1/2  1/4  1/8  1/16  1/32  1/64  1/128 24  has the binary value  11000 0.5  (or  1/2 ) has the binary value  .1 24.5 = 0011000.1
Floating Point Notation How would  0011000.1  be stored using 8 bits for the mantissa and 4 bits for the exponent?
Floating Point Notation How would  0011000.1  be stored using 8 bits for the mantissa and 4 bits for the exponent? The exponent is 7 because decimal point has to move 7 places to the left 0011000.1  =  00110001  x  2 7   =  00110001  x  2 0111 Mantissa Exponent
Accuracy Store  110.0011001  in floating point representation, using 8 bits for the mantissa and 4 bits for the exponent. Mantissa Exponent The mantissa only holds 8 bits and so cannot store the last two bits These two bits cannot be stored in the system, and so they are forgotten. The number stored in the system is  110.00110  which is less accurate that its initial value.
Accuracy If the size of the  mantissa is increased  then the  accuracy  of the number held is  increased . Mantissa (10 bits) Exponent
Range If increasing the size of the mantissa increases the accuracy of the number held,  what will be the effect of increasing the size of the exponent? Using two bits for the exponent, the exponent can have the value  0-3 Mantissa Exponent (2 bits) This means the number stored can be in the range .00000000 (0)  to 111.11111 (7.96875)
Range Increasing the exponent to three bits, it can now store the values  0-7 Mantissa Exponent (3 bits) This means the number stored can be in the range .00000000 (0)  to 1111111.1 (127.5) If the size of the  exponent is increased  then the  range  of the number s which can be stored is  increased .
Credits ,[object Object],[object Object],[object Object],[object Object],[object Object]

Más contenido relacionado

La actualidad más candente

Number system....
Number system....Number system....
Number system....
mshoaib15
 
Row space | Column Space | Null space | Rank | Nullity
Row space | Column Space | Null space | Rank | NullityRow space | Column Space | Null space | Rank | Nullity
Row space | Column Space | Null space | Rank | Nullity
Vishvesh Jasani
 
MATRICES
MATRICESMATRICES
MATRICES
faijmsk
 

La actualidad más candente (20)

Ppt on real numbers
Ppt on real numbersPpt on real numbers
Ppt on real numbers
 
Number system of computer
Number system of computerNumber system of computer
Number system of computer
 
Sets
SetsSets
Sets
 
Sets (Mathematics class XI)
Sets (Mathematics class XI)Sets (Mathematics class XI)
Sets (Mathematics class XI)
 
Number system
Number systemNumber system
Number system
 
Set concepts
Set conceptsSet concepts
Set concepts
 
Number system....
Number system....Number system....
Number system....
 
Floating point presentation
Floating point presentationFloating point presentation
Floating point presentation
 
Number system
Number systemNumber system
Number system
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
 
Discrete mathematic
Discrete mathematicDiscrete mathematic
Discrete mathematic
 
complex numbers
complex numberscomplex numbers
complex numbers
 
Row space | Column Space | Null space | Rank | Nullity
Row space | Column Space | Null space | Rank | NullityRow space | Column Space | Null space | Rank | Nullity
Row space | Column Space | Null space | Rank | Nullity
 
Bcd
BcdBcd
Bcd
 
Rational numbers in the number line
Rational numbers in the number line Rational numbers in the number line
Rational numbers in the number line
 
Set Theory Presentation
Set Theory PresentationSet Theory Presentation
Set Theory Presentation
 
06 floating point
06 floating point06 floating point
06 floating point
 
BINARY SUBTRACTION
BINARY SUBTRACTIONBINARY SUBTRACTION
BINARY SUBTRACTION
 
Sets PowerPoint Presentation
Sets PowerPoint PresentationSets PowerPoint Presentation
Sets PowerPoint Presentation
 
MATRICES
MATRICESMATRICES
MATRICES
 

Destacado

Decimal arithmetic in Processors
Decimal arithmetic in ProcessorsDecimal arithmetic in Processors
Decimal arithmetic in Processors
Peeyush Pashine
 
Integer Representation
Integer RepresentationInteger Representation
Integer Representation
gavhays
 
Properties real numbers basic
Properties real numbers basicProperties real numbers basic
Properties real numbers basic
Bitsy Griffin
 

Destacado (20)

Data representation
Data representationData representation
Data representation
 
Fixed-point arithmetic
Fixed-point arithmeticFixed-point arithmetic
Fixed-point arithmetic
 
Fixed point and floating-point numbers
Fixed point and  floating-point numbersFixed point and  floating-point numbers
Fixed point and floating-point numbers
 
Class10
Class10Class10
Class10
 
Design and Implementation of Single Precision Pipelined Floating Point Co-Pro...
Design and Implementation of Single Precision Pipelined Floating Point Co-Pro...Design and Implementation of Single Precision Pipelined Floating Point Co-Pro...
Design and Implementation of Single Precision Pipelined Floating Point Co-Pro...
 
Decimal arithmetic in Processors
Decimal arithmetic in ProcessorsDecimal arithmetic in Processors
Decimal arithmetic in Processors
 
SD & D Real Numbers
SD & D Real NumbersSD & D Real Numbers
SD & D Real Numbers
 
Optimized Floating-point Complex number multiplier on FPGA
Optimized Floating-point Complex number multiplier on FPGAOptimized Floating-point Complex number multiplier on FPGA
Optimized Floating-point Complex number multiplier on FPGA
 
Integer Representation
Integer RepresentationInteger Representation
Integer Representation
 
Design and Implementation of High Speed Area Efficient Double Precision Float...
Design and Implementation of High Speed Area Efficient Double Precision Float...Design and Implementation of High Speed Area Efficient Double Precision Float...
Design and Implementation of High Speed Area Efficient Double Precision Float...
 
The Real Numbers
The Real NumbersThe Real Numbers
The Real Numbers
 
real numbers
real numbersreal numbers
real numbers
 
Respiration
Respiration Respiration
Respiration
 
Quick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representationQuick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representation
 
Properties real numbers basic
Properties real numbers basicProperties real numbers basic
Properties real numbers basic
 
Real Number System
Real Number SystemReal Number System
Real Number System
 
Math Project
Math ProjectMath Project
Math Project
 
Real numbers
Real numbersReal numbers
Real numbers
 
Real numbers
Real numbersReal numbers
Real numbers
 
Floating point ALU using VHDL implemented on FPGA
Floating point ALU using VHDL implemented on FPGAFloating point ALU using VHDL implemented on FPGA
Floating point ALU using VHDL implemented on FPGA
 

Similar a Representation of Real Numbers

Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
Lovely Professional University
 
Lesson 1 basic theory of information
Lesson 1   basic theory of informationLesson 1   basic theory of information
Lesson 1 basic theory of information
Roma Kimberly Erolin
 
Lesson 1 basic theory of information
Lesson 1   basic theory of informationLesson 1   basic theory of information
Lesson 1 basic theory of information
Roma Kimberly Erolin
 

Similar a Representation of Real Numbers (20)

Floating Point Representation premium.pptx
Floating Point Representation premium.pptxFloating Point Representation premium.pptx
Floating Point Representation premium.pptx
 
Ch 4
Ch 4Ch 4
Ch 4
 
Number system part 1
Number  system part 1Number  system part 1
Number system part 1
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
SD & D Negative Numbers
SD & D Negative NumbersSD & D Negative Numbers
SD & D Negative Numbers
 
09 Arithmetic
09  Arithmetic09  Arithmetic
09 Arithmetic
 
Lesson 1 basic theory of information
Lesson 1   basic theory of informationLesson 1   basic theory of information
Lesson 1 basic theory of information
 
Lesson 1 basic theory of information
Lesson 1   basic theory of informationLesson 1   basic theory of information
Lesson 1 basic theory of information
 
Number bases
Number basesNumber bases
Number bases
 
Number System
Number SystemNumber System
Number System
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
 
Number+system (1)
Number+system (1)Number+system (1)
Number+system (1)
 
Number systems and conversions
Number systems and conversionsNumber systems and conversions
Number systems and conversions
 
decimals-comp-packet.pdf
decimals-comp-packet.pdfdecimals-comp-packet.pdf
decimals-comp-packet.pdf
 
Chapter two FHI.pptx
Chapter two FHI.pptxChapter two FHI.pptx
Chapter two FHI.pptx
 
Integers
IntegersIntegers
Integers
 
Number system
Number systemNumber system
Number system
 
chapter one && two.pdf
chapter one && two.pdfchapter one && two.pdf
chapter one && two.pdf
 
Representation of Negative Numbers
Representation of Negative NumbersRepresentation of Negative Numbers
Representation of Negative Numbers
 
Digital electronics number system notes
Digital electronics number system notesDigital electronics number system notes
Digital electronics number system notes
 

Más de Forrester High School

Más de Forrester High School (20)

Program Design
Program DesignProgram Design
Program Design
 
Database Evaluation
Database EvaluationDatabase Evaluation
Database Evaluation
 
Testing SQL
Testing SQLTesting SQL
Testing SQL
 
SQL
SQLSQL
SQL
 
Database Query Design
Database Query DesignDatabase Query Design
Database Query Design
 
Data Dictionary
Data DictionaryData Dictionary
Data Dictionary
 
Compound Keys
Compound KeysCompound Keys
Compound Keys
 
Entity Occurrence Diagrams
Entity Occurrence DiagramsEntity Occurrence Diagrams
Entity Occurrence Diagrams
 
Entity Relationship Diagrams
Entity Relationship DiagramsEntity Relationship Diagrams
Entity Relationship Diagrams
 
Database Analysis
Database AnalysisDatabase Analysis
Database Analysis
 
Software Evaluation
Software EvaluationSoftware Evaluation
Software Evaluation
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Standard Algorithms
Standard AlgorithmsStandard Algorithms
Standard Algorithms
 
File Handling
File HandlingFile Handling
File Handling
 
Python Predefined Functions
Python Predefined FunctionsPython Predefined Functions
Python Predefined Functions
 
Python Substrings
Python SubstringsPython Substrings
Python Substrings
 
Variable Scope
Variable ScopeVariable Scope
Variable Scope
 
Sub-programs
Sub-programsSub-programs
Sub-programs
 
Records in Python
Records in PythonRecords in Python
Records in Python
 
Parallel arrays in python
Parallel arrays in pythonParallel arrays in python
Parallel arrays in python
 

Último

Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdfFinancial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
MinawBelay
 
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
Krashi Coaching
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
中 央社
 

Último (20)

UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdfFinancial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
 
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptxREPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
 
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 
Word Stress rules esl .pptx
Word Stress rules esl               .pptxWord Stress rules esl               .pptx
Word Stress rules esl .pptx
 
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptx
 
demyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptxdemyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptx
 
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptx
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
Navigating the Misinformation Minefield: The Role of Higher Education in the ...
Navigating the Misinformation Minefield: The Role of Higher Education in the ...Navigating the Misinformation Minefield: The Role of Higher Education in the ...
Navigating the Misinformation Minefield: The Role of Higher Education in the ...
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
IPL Online Quiz by Pragya; Question Set.
IPL Online Quiz by Pragya; Question Set.IPL Online Quiz by Pragya; Question Set.
IPL Online Quiz by Pragya; Question Set.
 

Representation of Real Numbers

  • 1.  
  • 2.
  • 3. Standard Form Standard form is a scientific notation of representing numbers as a base number and an exponent . Using this notation: The decimal number 8674.26 can be represented as 8.67426 x 10 3 , with mantissa = 8.67426 , base = 10 and exponent = 3 The decimal number 753.34 can be represented as 7.5334 x 10 2 , with mantissa = 7.5334 , base = 10 and exponent = 2 The decimal number 0.000634 can be represented as 6.34 x 10 -3 , with mantissa = 6.34 , base = 10 and exponent = -3 Any number can be represented in any number base in the form m x b e
  • 4. Floating Point Notation In floating point notation, the real number is stored as 2 separate bits of data A storage location called the mantissa holds the complete number without the point. A storage location called the exponent holds the number of places that the point must be moved in the original number to place it at the left hand side.
  • 5. Floating Point Notation What is the exponent of 10110.110 ? The exponent is 5 , because the decimal point has to be moved 5 places to get it to the left hand side. The exponent would be represented as 0101 in binary
  • 6. Floating Point Notation How would 10110.110 be stored using 8 bits for the mantissa and 4 bits for the exponent? We have already calculated that the exponent is 5 or 0101 . 10110.110 = 10110110 x 2 5 = 10110110 x 2 0101 It is not necessary to store the ‘x’ sign or the base because it is always 2. Mantissa Exponent
  • 7. Floating Point Notation How would 24.5 be stored using 8 bits for the mantissa and 4 bits for the exponent? In binary, the numbers after the decimal point have the following place values: 1/2 1/4 1/8 1/16 1/32 1/64 1/128 24 has the binary value 11000 0.5 (or 1/2 ) has the binary value .1 24.5 = 0011000.1
  • 8. Floating Point Notation How would 0011000.1 be stored using 8 bits for the mantissa and 4 bits for the exponent?
  • 9. Floating Point Notation How would 0011000.1 be stored using 8 bits for the mantissa and 4 bits for the exponent? The exponent is 7 because decimal point has to move 7 places to the left 0011000.1 = 00110001 x 2 7 = 00110001 x 2 0111 Mantissa Exponent
  • 10. Accuracy Store 110.0011001 in floating point representation, using 8 bits for the mantissa and 4 bits for the exponent. Mantissa Exponent The mantissa only holds 8 bits and so cannot store the last two bits These two bits cannot be stored in the system, and so they are forgotten. The number stored in the system is 110.00110 which is less accurate that its initial value.
  • 11. Accuracy If the size of the mantissa is increased then the accuracy of the number held is increased . Mantissa (10 bits) Exponent
  • 12. Range If increasing the size of the mantissa increases the accuracy of the number held, what will be the effect of increasing the size of the exponent? Using two bits for the exponent, the exponent can have the value 0-3 Mantissa Exponent (2 bits) This means the number stored can be in the range .00000000 (0) to 111.11111 (7.96875)
  • 13. Range Increasing the exponent to three bits, it can now store the values 0-7 Mantissa Exponent (3 bits) This means the number stored can be in the range .00000000 (0) to 1111111.1 (127.5) If the size of the exponent is increased then the range of the number s which can be stored is increased .
  • 14.