Floating point unit demonstration on ... - STMicroelectronics
May 2016DocID022737 Rev 21/311AN4044Application noteFloating point unit demonstration on STM32 microcontrollers IntroductionThis application note explains how to use Floating - point units (FPUs) available in STM32 Cortex -M4 and STM32 Cortex -M7 microcontrollers, and also provides a short overview of: Floating - point X-CUBE-FPUDEMO firmware is developed to promote double precision FPUs, and to demonstrate the improvements coming from the use of this hardware examples are given in Section 4: Application Rev 2Contents1Floating- point arithmetic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . or Floating - point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . unit (FPU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72IEEE standard for Floating - point arithmetic (IEEE 754).
• Direct rounding toward +∞ • Direct rounding toward -∞ • Direct rounding toward 0 Round to nearest is the default rounding mode (the most commonly used). If the two nearest are equally near, the selected one is the one with the LSB equal to 0. The rounding mode is very important as it changes the result of an arithmetic operation. It
Download Floating point unit demonstration on ... - STMicroelectronics
Information
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document: