2021-06-18 03:53 AM
Hi,
I'm using STM32F767.
I require the use of a 128 bit floating point in C and I couldn't find how to do so.
I did a research online and I saw one suggestion to use the datatype "__float128"
but the build failed due to "unknown datatype __float128"
I am using a C11 compiler.
I'd love to hear any suggestions, or if there is an option in the STMCUBEIDE to change the compiler as well.
Appreciate any help I can get :grinning_face:
Thanks,
M
Solved! Go to Solution.
2021-06-18 06:43 AM
CRC is an entirely integer algorithm. It is basically a shift register, which is easy to emulate using an array of words.
JW
2021-06-18 04:33 AM
There is no support for quad float in gcc for ARM Cortex-M.
https://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html
JW
2021-06-18 06:38 AM
@Community member Thank you for your answer!
my code is calculating CRC, and the CRC calculation result is a big number sumtimes...
do you have any idea how to handle this situation in different way?
thanks,
M
2021-06-18 06:43 AM
CRC is an entirely integer algorithm. It is basically a shift register, which is easy to emulate using an array of words.
JW
2021-06-18 06:48 AM
@Community member thanks