Prelude to Programming
Prelude to Programming
6th Edition
ISBN: 9780133750423
Author: VENIT, Stewart
Publisher: Pearson Education
Question
Book Icon
Chapter 2, Problem 5PC
Program Plan Intro

To differentiate between a single-precision and a double-precision floating-point number and describe the usage of a double-precision floating number.

Blurred answer
Students have asked these similar questions
Explain double precision in a few words.
Please write in programming language C
a) What is "Approximation Error" in floating-point representation?  Approximation Error - Since in floating point representation we can not represent all real numbers so there occurs an error.It is difficult to represent some decimal numbers in binary form. b) Why is it happening?  Floating point Approximation error occur because it uses fixed no. of bits to represent decimal numbers. It is difficult to represent real numbers with the help of fixed bits of binary numbers. Also some decimal numbers are difficult to represent in binary form.  c) How can we minimize it? We can minimise it by- 1.Changing radix 2.Adding numbers of different magnitude value. 3.overflow 4. underflow 5.Subtracting numbers of same magnitude value.   Dont use answers from other websites please! Please type your answer not picture      d) How can the character codes be a solution for this?

Chapter 2 Solutions

Prelude to Programming

Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning