- Book Chapter
- 10.1007/978-1-4842-6267-2_6
Armv8-32 Floating-Point Programming
- Jan 01, 2020
- Daniel Kusswurm
This chapter covers scalar floating-point programming. The first set of source code examples teaches the basics of floating-point arithmetic using single-precision and double-precision floating-point values. The next set of examples explains how to perform floating-point comparisons and conversions. This is followed by a couple of source code examples that illustrate the use of floating-point arrays and matrices. The final source code example describes how to call a C++ library function from an assembly language function. Besides these topics, Chapter 6 also discusses important details about the GNU C++ calling convention and its requirements for floating-point argument and return values.
Read more