How codes represent data for scientific calculations?, Computer Engineering

Assignment Help:

Q. How codes represent data for scientific calculations?

How codes are in fact used to represent data for scientific calculations?

The computer is a discrete digital device and stores information in flip-flops that are two state devices means in binary form. Fundamental requirements of computational data representation in binary form are:

  • Exponent
  • Representation of Magnitude
  • If number is fractional then decimal or binary point
  • Representation of sign

The solution for sign representation is easy since sign can be either negative or positive hence one bit can be used to signify sign. By default it must be left most bit (in most of the machines it's Most Significant Bit).

Therefore a number of n bits can be represented as n+l bit number where n+lth bit is sign bit and rest n bits signify its magnitude.

54_How codes represent data for scientific calculations.png

Figure: A (n  + 1) bit number


Related Discussions:- How codes represent data for scientific calculations?

Define micro operation, Define Micro operation. The operations implemen...

Define Micro operation. The operations implemented on data stored in the registers are called Micro operation. A microperation is an elementary operation performed on the infor

By using what nested macro calls are expanded, Nested Macro calls are expan...

Nested Macro calls are expanded using the? Ans. By using the LIFO (Last in First out) Nested Macro calls are expanded.

Allocation of bits among opcode and operand, Allocation of Bits among Opcod...

Allocation of Bits among Opcode and Operand The trade-off here is between numbers of bits of opcode vs. the addressing capabilities. An interesting development in this regard i

What is pointers function, Visual basic applications have very rich and fle...

Visual basic applications have very rich and flexible applications but there is single limitation when using pointer function. Windows API has limited support for function pointers

Should validation occur server- side or client - side, Should validation (d...

Should validation (did the user enter a real date) occur server-side or client-side? Why? Validation will be completed in both sides i.e., at the server side and client side. S

Integrating virtual memory, Integrating Virtual Memory, TLBs, and Caches - ...

Integrating Virtual Memory, TLBs, and Caches - computer architecture:   There are 3 types of misses: 1. a cache miss 2. TLB miss 3. a page fault 2 techniqu

How control functions help in signalling and control, How different control...

How different control function categories help in signalling and control. Events happening outside the exchange on the line units, trunk junctions and inter exchange signalin

Microprocessor, what is opcode for addition and subtraction

what is opcode for addition and subtraction

Nix commands, reate a directory "Unix" under your home directory. Command(...

reate a directory "Unix" under your home directory. Command(s): ………………………………………….

What do understand by the granularity of a parallel system, What do underst...

What do understand by the granularity of a parallel system ? Granularity refers to the quantity of computation complete in parallel relative to the size of the entire program. I

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd