Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI

Discussion Groups

Discussion Groups | Freescale DSPs | floating point division - CW 4.02

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

floating point division - CW 4.02 - stefan_schaeufele - May 13 7:13:00 2003



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





(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )

Re: floating point division - CW 4.02 - Charlie W - May 14 4:30:00 2003

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 __________________________________




(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )

RE: floating point division - CW 4.02 - Hutchings William-p23437 - May 14 14:34:00 2003

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 > .




(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )