Page 1 of 1

GCC stdfix fixed point math support

Posted: Sat Oct 06, 2018 10:33 am
by rma-31
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;
}