GCC stdfix fixed point math support

rma-31
Posts: 15
Joined: Sun Oct 08, 2017 5:07 pm

GCC stdfix fixed point math support

Postby rma-31 » Sat Oct 06, 2018 10:33 am

Hi, I was wondering if fixed point support for the esp32 using gcc will be added. Currently, if one tries to use this gcc feature, the compiler responds with "error: fixed-point types not supported for this target".

This would be very useful, when implementing DSP code.

Example snippet:
#include "stdfix.h"
int main(){
fract a = .33, b = .1;
a *= b;
return 0;
}

Who is online

Users browsing this forum: djixon and 143 guests