Loading...
Please wait, while we are loading the content...
Similar Documents
Introduction to Floating-Point: Basics, Data Types, and Data Transfer
| Content Provider | Scilit |
|---|---|
| Author | Hohl, William Hinds, Christopher |
| Copyright Year | 2014 |
| Description | In Chapter 1 we looked briefly at the formats of the floating-point data types called single-precision and double-precision. These data types are referred to as float and double, respectively, in C, C++, and Java. These formats have been the standard since the acceptance of the IEEE Standard for Binary Floating-Point Arithmetic (IEEE Standard 1985), known as the IEEE 754-1985 standard, though floating-point was in use long before an effort to produce a standard was considered. Each computer maker had their own data types, rounding modes, exception handling, and odd numeric quirks. In this chapter we take a closer look at the single-precision floatingpoint data type, the native data type of the Cortex-M4 floating-point unit, and a new format called half-precision. An aim of this chapter is to answer why a programmer would choose to use floating-point over integer in arithmetic computations, and what special considerations are necessary to properly use these data types. This introductory look, here and in Chapters 10 and 11, will let us add floating-point to our programming and make use of a powerful feature of the Cortex-M4. Book Name: ARM Assembly Language |
| Related Links | https://content.taylorfrancis.com/books/download?dac=C2013-0-24706-0&isbn=9780429162046&doi=10.1201/b17562-13&format=pdf |
| Ending Page | 233 |
| Page Count | 34 |
| Starting Page | 200 |
| DOI | 10.1201/b17562-13 |
| Language | English |
| Publisher | Informa UK Limited |
| Publisher Date | 2014-10-20 |
| Access Restriction | Open |
| Subject Keyword | Book Name: Arm Assembly Language Hardware and Architecturee Precision Arithmetic Double Floating Point Data Types |
| Content Type | Text |
| Resource Type | Chapter |