DSPRelated.com
Forums

64-Bit FP Library for Blackfin

Started by Kevin Harvey October 10, 2003
Hi,

I need to do some simple 64-bit floating point calculations on frequency
(damn hardware guys...) and the BlackFin only supports 32 bit floats.

Anyone got some maths libraries that will help me out.


-- 
Kevin Harvey
Senior Software Engineer
Fluke Precision Measurement, Norwich


Kevin,

This might be helpful:

http://www.jhauser.us/arithmetic/SoftFloat.html

SoftFloat is a free, high-quality software implementation of the
IEC/IEEE Standard for Binary Floating-point Arithmetic. ... SoftFloat
fully implements the four most common floating-point formats: single
precision (32 bits), double precision (64 bits), extended double
precision (80 bits), and quadruple precision (128 bits). All required
rounding modes, exception flags, and special values are supported.

Regards,
-- Georgi

"Kevin Harvey" <kevin.harvey@fluke.com> wrote in message news:<bm5tsj$j1e$1@potlatch.tc.fluke.com>...
> Hi, > > I need to do some simple 64-bit floating point calculations on frequency > (damn hardware guys...) and the BlackFin only supports 32 bit floats. > > Anyone got some maths libraries that will help me out.
Ta Geogi, I will give it a look.

Kevin

"Georgi Beloev" <gb@beloev.net> wrote in message
news:9ac433eb.0310100820.522f5e22@posting.google.com...
> Kevin, > > This might be helpful: > > http://www.jhauser.us/arithmetic/SoftFloat.html > > SoftFloat is a free, high-quality software implementation of the > IEC/IEEE Standard for Binary Floating-point Arithmetic. ... SoftFloat > fully implements the four most common floating-point formats: single > precision (32 bits), double precision (64 bits), extended double > precision (80 bits), and quadruple precision (128 bits). All required > rounding modes, exception flags, and special values are supported. > > Regards, > -- Georgi > > "Kevin Harvey" <kevin.harvey@fluke.com> wrote in message
news:<bm5tsj$j1e$1@potlatch.tc.fluke.com>...
> > Hi, > > > > I need to do some simple 64-bit floating point calculations on frequency > > (damn hardware guys...) and the BlackFin only supports 32 bit floats. > > > > Anyone got some maths libraries that will help me out.

Kevin Harvey wrote:
> Hi, > > I need to do some simple 64-bit floating point calculations on frequency > (damn hardware guys...) and the BlackFin only supports 32 bit floats. > > Anyone got some maths libraries that will help me out.
ADI has an app note on two-word 32-bit floating point for the Blackfin. It should be quite easy to extend the routines for 64-bits. Leon -- Leon Heller, G1HSM Tel: +44 1424 423947 Email: aqzf13 at dsl dot pipex dot com WWW: http://www.geocities.com/leon_heller