Use FPU instruction VABS.F32 from C/C++
Asked by
Raphael Ulrich
I want to get the absolute value of a float 32 value in a C/C++ code on a Cortex M4 MCU by making use of the FPU instruction VABS.F32.
IAR compiler offers macro __fabsf for that purpose.
Is there a equivalent available in gcc-arm-
Or in general: How can I make sure the FPU instruction VABS.F32 is used?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Raphael Ulrich
- Solved:
- Last query:
- Last reply:
To post a message you must log in.