StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...

Floating point IEEE754 - Coursework Example

Cite this document
Summary
Name: Number: Course: Lecturer: Floating point is a way in which numbers are represented in computers. This format has a way n which real numbers can be represented such that there is a wide range of number representation. In general, this number representation requires that numbers are represented to a fixed value and the real numbers and the rest are scaled to a value of an exponent…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER96.8% of users find it useful
Floating point IEEE754
Read Text Preview

Extract of sample "Floating point IEEE754"

Download file to see previous pages

This means that it can “float”. The point in which the radical point is located is indicated in the internal representation. There are various types of floating representation but the most common one is that of IEEE754. In a real computer, the representation of floating point numbers is through the Institute of Electrical and Electronic Engineers 754 (IEEE – 754) floating point number format. The features of this number format are that it uses 32 bits (single precision), the number y is represented as ?x(1.a1a2…..a23).

2e, where y represents the number, whether positive or negative, ai is the mantissa entries and can only go up to 23, that is, i=1….23. e is the exponent. There is a need to note the 1 that is given before the decimal (radix) point. This point represents the sign of the number that is being represented. 0 is a representation of a positive number while 1 is a representation of the negative number. The next eight bits forms the exponents. In this representation, there is no separate bit in the representation.

The sign of the actual exponent is normally taken care of by adding 127 to actual exponent. An example is if the real number value is 6, then there will be an addition of 127, making it 133, that is 127 + 6. The reason as to why 127 is added is because in eight bit number representation, the maximum number that can be represented is (11111111)2 which is 255. Half of 255 is 127. This means that negative exponents of 127 can be represented and at the same time positive exponents of 127 can be represented.

With this representation, the exponent will be represented as -127=128. The computer can also represent the numbers using another method other than the one stated in the paragraph above. In this regard, the computer can use eight bits for the exponent, reserving 1 bit for the sign of the exponent. In this case, the largest bit used for representation would be 127. By biasing the representation of the exponent the instances of getting a negative zero is avoided and also a positive zero. The effects of both are the same.

The actual range of exponent in IEEE format is not 0 to 255 but 0 to 254. In this case then, the exponent has a range of -126127. In this case, -127 and 128 are used for other purposes. If e=128 and al the values of the mantissa are zeros, then the number is +- ?. The infinity bit is governed by the number before it. If e=128 and all the entries of the mantissa are not zeros, it will mean that the real number that is being represented is not a number (NaN). Because of the number that is at the lead in the floating number representation, the zero value cannot be precisely presented.

This is the reason as to why the number zero is represented using -127 and all the entries of the mantissa are zero. The next bits, 23 in number, are used to represent the mantissa (Brewe 73) Representing double-precision numbers (64-bit) In double precision format, real numbers are represented in 64 bits. In this format, the computer uses the 1st bit as a sign bit. The next 11 bits are used to represent the exponent. The rest of the bits, which are 52 are used to represent the mantissa (Brewe 74).

The process of converting a decimal number to IEEE754 format will undergo some steps. The first step is to check the sign of the number. If it is negative, then the sign will

...Download file to see next pages Read More
Tags
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Floating point IEEE754 Coursework Example | Topics and Well Written Essays - 750 words”, n.d.)
Floating point IEEE754 Coursework Example | Topics and Well Written Essays - 750 words. Retrieved from https://studentshare.org/information-technology/1461486-floating-point
(Floating Point IEEE754 Coursework Example | Topics and Well Written Essays - 750 Words)
Floating Point IEEE754 Coursework Example | Topics and Well Written Essays - 750 Words. https://studentshare.org/information-technology/1461486-floating-point.
“Floating Point IEEE754 Coursework Example | Topics and Well Written Essays - 750 Words”, n.d. https://studentshare.org/information-technology/1461486-floating-point.
  • Cited: 0 times

CHECK THESE SAMPLES OF Floating point IEEE754

Fixed and Floating Charge

When shaping if a arraign is fixed or floating, the question disregards the genuine guarantee which may perhaps modify from instance to instance.... n the other hand, it is satisfactory to simply limit the self-determination of the charger to tackle with the charged property when making an effort to keep away from the foundation of a floating charge.... A floating charge is a charge that does not primarily fasten itself to a specific resource or property which implies the fact that the borrower is permitted to arrange the resources as he otherwise she desires devoid of having to obtain the authorization of the lender....
4 Pages (1000 words) Essay

Fixed and Floating Charges

These charges can be of either floating nature or of fixed nature depending upon the nature of the mutual agreement between both the parties.... It is however also important to understand that the significance of floating and fixed charge to both creditors and the firm may be different again depending upon the nature of agreement made between both the parties....
9 Pages (2250 words) Essay

Floating cities vs colonial America

They are among the highest ranking… For example, the liberalists such as the founder of PayPal who support the floating cities are high ranking, rich and influential individuals.... The leaders of the America revolutionary war were also high ranking, influential and top officials especially from the military, floating Cities Vs Colonial America The Seasteading Institute builds permanent dwellings or homesteads on the sea for people to live in the marine surrounding....
1 Pages (250 words) Essay

Scheduling the Floating Day Off

In the essay “Scheduling the floating Day Off “ the author writes a letter to all employees.... There is an increasing request of many employees for the management to consider greater flexibility in granting the floating holiday off.... hellip; The author states that at present, their floating holiday is pre-scheduled on a company-wide basis offering no leeway to avail it on a schedule that is more favorable to an employee.... In cases where there are two or more employees who have selected a similar schedule to avail their floating holiday off, priority shall be given to the most senior employee....
1 Pages (250 words) Essay

Corner Loading, Center Loading, and Edge Loading

As such, the resultant stress on the surface varies with respect to the changes in direction of the resultant stresses to the point of… The loading condition also does not have a uniform pressure. Center loading illustrates a case of uniformly distributed load on a surface.... As such, the point of application of the load has a central point at equal distances from all the edges of the Loading 5-4 Coordinates of 36, 17.... 29 psi Corner loading illustrates a case of loading where the point of application of the load is not at a uniform distance from all the edges....
1 Pages (250 words) Essay

Floating egg

A fresher egg requires a higher density solution for it to Answers to Discussion Question 5 of The floating Egg Experiment How valid is the assumption that aqueous sodium chloride is an adequate replacement for aqueous sodium hydroxide?... ??floating Egg Experiment” .... du/dept/chem/POC/Experiments/floating%20Egg%20Exp/HTMLFiles/FloatingEggExperiment....
1 Pages (250 words) Admission/Application Essay

Enjoying the Exhilaration and Freedom by Go Boating: Types of Floatation Devices

As soon as individuals are aware that a person has fallen overboard, a member of the crew needs to be chosen to keep the individual insight every time and point at that person (Holland and Rainey, 1995).... While the boat is on the move, individuals need to be advised to wear their personal floating devices, specifically during the night and in rough seas (RYA Yatchmaster, 2013).... It would be also advantageous if the floating device has an in-built reflective tape, as it may calculate the difference between drowning and recovery for a person if the incident takes place during the night....
6 Pages (1500 words) Literature review

Design Requirement for Deep Footing

For still larger stresses, the solid fractures when the stress reaches the breaking point.... These metals can be pulled like taffy, becoming thinner until finally reaching the breaking point.... This paper "Design Requirement for Deep Footing" tells that Deep Foundation is suitable when the soil top layer is soft and has good bearing soil strata....
8 Pages (2000 words) Lab Report
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us