hi, datatype are standards from Ainsi C.
Float is a floating point representation, so your declaration are right.
DSP have no FPU (floating point unit), so all computation will be emulated
by DSP, very slow !
Fixed points means working with float as integer. See IQ library for the
DSP. It allows you to compute very fast, with the precision you want.
Veuillez rondre n...@gmail.com
Envoypar : c...
Pour : c...
cc :
Objet : [c28x] Datatype declaration for variables in F2812
Hi all,
Can any one tell me how do we declare data type for the variables having a
fractional value
float n=0.2;
int16 A=540;
float B=50e-06;
float C=2.109375e-06;,
i have assigned n,B,C as float. but DSP working in Fixed point.Should i
mention the above as frac? how many bits whether it will take float as
16bit or 32 bit? or frac as 16bit or 32bit?
if i give float16 it gives error. My question seems to be silly to many of
you, but i don't have any programming experience.
can any one answer me?
thanks in advance.
regards
Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video
Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467