Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).
|
Hi all, i've got probleme with followed division: ------------- Int32 result; Int32 a=0x55555555; float b=25.6; archSetNoSat(); result = ( a / b ); // expected result = 0x03555555; // result= 0x03555558 archSetSat32(); -------------- I'm using CW 4.02 for programming DSP56807. I wrote this problem to motorola support, but they can't go back over because in CW 5.0 it works correct. Can anyone tell me, if there is a bug or what's wrong. Regards Stefan |
|
|
|
i suggest you try SDK DSP library C.W. --- stefan_schaeufele <> wrote: > Hi all, > > i've got probleme with followed division: > ------------- > Int32 result; > Int32 a=0x55555555; > float b=25.6; > archSetNoSat(); > result = ( a / b ); // expected result = 0x03555555; > > // result= 0x03555558 > archSetSat32(); > -------------- > > I'm using CW 4.02 for programming DSP56807. > I wrote this problem to motorola support, but they > can't go back over > because in CW 5.0 it works correct. > > Can anyone tell me, if there is a bug or what's > wrong. > > Regards > Stefan __________________________________ |
|
The SDK signal processing library is all fixed point so this will not help for floating point. -----Original Message----- From: Charlie W [mailto:] Sent: Tuesday, May 13, 2003 9:31 PM To: stefan_schaeufele; Subject: Re: [motoroladsp] floating point division - CW 4.02 i suggest you try SDK DSP library C.W. --- stefan_schaeufele <> wrote: > Hi all, > > i've got probleme with followed division: > ------------- > Int32 result; > Int32 a=0x55555555; > float b=25.6; > archSetNoSat(); > result = ( a / b ); // expected result = 0x03555555; > > // result= 0x03555558 > archSetSat32(); > -------------- > > I'm using CW 4.02 for programming DSP56807. > I wrote this problem to motorola support, but they > can't go back over > because in CW 5.0 it works correct. > > Can anyone tell me, if there is a bug or what's > wrong. > > Regards > Stefan __________________________________ Yahoo! Groups Sponsor ADVERTISEMENT <http://rd.yahoo.com/M=253844.3292508.4586278.1261774/D=egroupweb/S=1705771855:H\ M/A=1284714/R=0/*https://ecom.yahoo.com/dir/express/intro> <http://us.adserver.yahoo.com/l?M=253844.3292508.4586278.1261774/D=egroupmail/S=\ :HM/A=1284714/rand=264313120> _____________________________________ /groups.php3 <http://www.dsprelated.com/groups.php3 > . |