AnsweredAssumed Answered

Stumbling block for 64 bit fract in C/C++ for Sharc

Question asked by bookevg on Oct 24, 2012
Latest reply on Oct 26, 2012 by MikeP

The Sharc compiler has 64 bit integer, but 64 bit fract is absent.

My task would be needed:

y = y + k*x

y is 64 bit fract

k, x is 32 bit fract

And the processor has the command.

The simple way solve the problem it's to get the customer the new builtin function:

void Y64_is_Y64_add_k32_mul_x32(int *pY, fract k, fract x)

I read the manual for BlackFin compiler and I understood that the fract support is better for Blackfin

Outcomes