__fp16 type undefined
Asked by
Chris
Hello,
I'm building application for ARM Cortex M4F core with FPU. I'm using GNU C++ ARM compiler, and I need to use half precision float type (__fp16). However whenever I try to declare variable of it's type (or pointer of this type) I get "error: '__fp16' was not declared in this scope". I have global defines __FPU_USED -mfpu=fpv4-sp-d16 -mfloat-abi=hard.
I assume that I need some header file, but for last 2 days I was unable to find any information on the internet what would it be.
What am I doing wrong or what shall I include?
Regards
Chris
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Chris
- Solved:
- Last query:
- Last reply:
To post a message you must log in.