SlideShare ist ein Scribd-Unternehmen logo
1 von 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]

Weitere ähnliche Inhalte

Was ist angesagt?

Order Of Operations
Order Of OperationsOrder Of Operations
Order Of Operations
mmeddin
 
Compute with scientific notation
Compute with scientific notationCompute with scientific notation
Compute with scientific notation
Jessica Garcia
 
Classifying numbers
Classifying numbersClassifying numbers
Classifying numbers
kbrach
 
Fractions comparing ordering
Fractions comparing  orderingFractions comparing  ordering
Fractions comparing ordering
angelwatler
 
Comparing and ordering integers
Comparing and ordering integersComparing and ordering integers
Comparing and ordering integers
gheovani
 

Was ist angesagt? (20)

Place Value
Place ValuePlace Value
Place Value
 
Numbers and Number Sense: Types of Numbers
Numbers and Number Sense: Types of NumbersNumbers and Number Sense: Types of Numbers
Numbers and Number Sense: Types of Numbers
 
Properties of Multiplication
Properties of MultiplicationProperties of Multiplication
Properties of Multiplication
 
Order Of Operations
Order Of OperationsOrder Of Operations
Order Of Operations
 
Real numbers
Real numbersReal numbers
Real numbers
 
Compute with scientific notation
Compute with scientific notationCompute with scientific notation
Compute with scientific notation
 
Exponential Notation (Day 1)
Exponential Notation (Day 1)Exponential Notation (Day 1)
Exponential Notation (Day 1)
 
Real Numbers & Number Lines (Geometry 2_1)
Real Numbers & Number Lines (Geometry 2_1)Real Numbers & Number Lines (Geometry 2_1)
Real Numbers & Number Lines (Geometry 2_1)
 
Classifying numbers
Classifying numbersClassifying numbers
Classifying numbers
 
Rational numbers
Rational numbersRational numbers
Rational numbers
 
Factors and multiples ppt Class 3
Factors and multiples ppt Class 3Factors and multiples ppt Class 3
Factors and multiples ppt Class 3
 
Fractions comparing ordering
Fractions comparing  orderingFractions comparing  ordering
Fractions comparing ordering
 
Real Number System
Real Number SystemReal Number System
Real Number System
 
Lesson 1.3 properties of real numbers
Lesson 1.3   properties of real numbersLesson 1.3   properties of real numbers
Lesson 1.3 properties of real numbers
 
Lesson 1.9 the set of rational numbers
Lesson 1.9   the set of rational numbersLesson 1.9   the set of rational numbers
Lesson 1.9 the set of rational numbers
 
Fractions And Decimals
Fractions And DecimalsFractions And Decimals
Fractions And Decimals
 
Prime Factorization (Math 4)
Prime Factorization  (Math 4)Prime Factorization  (Math 4)
Prime Factorization (Math 4)
 
Scientific Notation
Scientific NotationScientific Notation
Scientific Notation
 
Comparing and ordering integers
Comparing and ordering integersComparing and ordering integers
Comparing and ordering integers
 
PPT TRANSLATING VERBAL PHRASES.pptx
PPT TRANSLATING VERBAL PHRASES.pptxPPT TRANSLATING VERBAL PHRASES.pptx
PPT TRANSLATING VERBAL PHRASES.pptx
 

Andere mochten auch

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
 

Andere mochten auch (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
 
06 floating point
06 floating point06 floating point
06 floating point
 
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
 
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
 

Ähnlich wie 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
 

Ähnlich wie Representation of Real Numbers (20)

Floating Point Representation premium.pptx
Floating Point Representation premium.pptxFloating Point Representation premium.pptx
Floating Point Representation premium.pptx
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
 
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
 
Floating point presentation
Floating point presentationFloating point presentation
Floating point presentation
 
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
 

Mehr von Forrester High School

Mehr von 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
 

Kürzlich hochgeladen

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Kürzlich hochgeladen (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 

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.