Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | a normal real number representation in blackfin

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

a normal real number representation in blackfin - emailtoprs - Apr 29 3:54:00 2005



hi all
its making me mad.
just tell me how the hell do i represent a numbe say
12.34 in blackfin assembly. i know how to change .34 and 12 to their
corresponding floating point. but wat about 12.34. please its urgent





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

Re: a normal real number representation in blackfin - Mike Rosing - Apr 29 8:53:00 2005

On Fri, 29 Apr 2005, emailtoprs wrote:

> hi all
> its making me mad.
> just tell me how the hell do i represent a numbe say
> 12.34 in blackfin assembly. i know how to change .34 and 12 to their
> corresponding floating point. but wat about 12.34. please its urgent

Blackfin is an integer/fixed point device. All numbers are less than one
in fractional notation. So you will need either a separate scale factor
(real floating point basicly) or you need to scale all your computations
to what ever the largest value will be (and the blackfin sees that as 1.0,
or .99999999 really)

Patience, persistence, truth,
Dr. mike




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