cancel
Showing results for 
Search instead for 
Did you mean: 

128 bit floating point not supported

AKart.1
Associate II

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 on​line 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 ​

1 ACCEPTED SOLUTION

Accepted Solutions

CRC is an entirely integer algorithm. It is basically a shift register, which is easy to emulate using an array of words.

JW

View solution in original post

4 REPLIES 4

There is no support for quad float in gcc for ARM Cortex-M.

https://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html

JW

AKart.1
Associate II

@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​

CRC is an entirely integer algorithm. It is basically a shift register, which is easy to emulate using an array of words.

JW

AKart.1
Associate II

@Community member​  thanks​