Floating-Point Operations
摘要
In this chapter, the RISC-V floating-point extensions will be studied. The floating-point extensions provide useful instructions for working with numbers in scientific notation, which add a decimal point along with exponents. Floating-point numbers will be defined, as well as how they are represented in memory and how to insert them into Assembly Language programs. How to transfer data between the floating-point registers and the regular RISC-V integer registers and memory is explained. Also, how to perform basic arithmetic operations, comparisons, and conversions is presented.