ts-7000
[Top] [All Lists]

[ts-7000] Re: What is needed to have floating point capabilities on 7250

To:
Subject: [ts-7000] Re: What is needed to have floating point capabilities on 7250?
From: "Ray" <>
Date: Sun, 29 Jul 2007 13:36:47 -0000
Hi js, 

I installed  gnuplot 4.0 patchlevel 0

gnuplot> set terminal png
gnuplot> output "output.png"
gnuplot> set parametric
gnuplot> plot cos(t), sin(t)

now when I look at output.png with a browser I see a nice
cicrle.

in userland you **ALWAYS** have floating point. however not 
the same in kernel space. 

I can't comment on the dependancies since I downloaded the 
debian binary. ie apt-get install gnuplot

So the real question for you to answer is how fast does
the pre-processing of the data need to be. 

Generally the gnu stuff comes with automake autoconf type 
tarball so you probably just need to ./configure.. make etc..

I am running 2.4 kernel with gcc 3.3.5 which I think is pretty
standard.

Regards 
Ray


--- In  "j.chitte" <> wrote:
>
> --- In  "Ray" <etheira@> wrote:
> >
> > I am new to this list, so maybe I am missing something, but
> > what is wrong with just compiling gnuplot for your target.
> > 
> > I am running debian on TS7400 just installed gnuplot it seems 
> > to work fine although you have to output to a file, since I 
> > have no X. (actually no video display). 
> > 
> > Should be ok for a web server if that's what you are doing.
> > Also since you are just visualizing some data, speed is not an
> > issue. Not like doing some compute intensive graphics..
> > 
> 
> thanks for your thoughts Ray.
> 
> good to know gnuplot installs without issues. However if you look at 
> my earlier post you'll see I'm doing more that just visualising.
> 
> I have used gnuplot to do linear regression fitting of logrithmic 
> calibration curves to some thermistor data. I sample several data 
> channels and use the log fn on the fly to convert that resistance 
> data to temperature as it's plotted. I have also pursuaded gnuplot to 
> do a trapezoidal area under graph integral and plot that finally 
> fitting a polynomial to the resulting data.
> 
> In fact I was amazed I could do all that with gnuplot which claims to 
> do no more than plot data.
> 
> This is pretty fast on the desktop machine , Athlon XP at 2.3GHz, but 
> it's not instantaeous. I doubt I will be able to do the same thing 
> with a larger data set from automatic sampling on a slow CPU using 
> very slow software FP emulation.
> 
> I was also using CVS gnuplot which may well have some dependancy 
> issues with the rather "historic" feature set of the std TSlinux 
> distribution.
> 
> 
> It appears that I would need to move to current stable Debian with a 
> 2.6 kernel, this would at least give kernel fp emu and possibly even 
> crunch support (if it can be limitted to using the bits that work
>  ;) ). However, all this would probably be far more work that 
> recoding what I've done.
> 
> BTW, what version of gnuplot is it?
> 
> Thx.
> 
> 
> > On the subject of fixed vs float wars, I am firmly on the side of
> > fixed point, although I have written my own floating point 
> > libraries in assembler (many years ago). The only time you
> > **REALLY** need floating point for realtime is when a variable
> > has a very large dynamic range, and those instances are fairly
> > rare. 
> 
> I quite agree, but I ain't about to recode gnuplot in fixed point ;) 
> I may try to recalibrate using a polynomial or dig out a series 
> approx to the log function that can be done in fixed point. The 
> regression fit can be done once only and can take it's time.
> 
> The plotting should be pretty straighforward and could be done much 
> more efficiently that using a generalised tool like gnuplot.
> 
> 
> 
> >Nowadays it seems everything has hardware floating point
> > and as a result it becomes the easy way out. 
> > 
> > Meantime, try compiling something like 
> > 
> >          float x,y,z;
> >          x=123.456;
> >          y=567.890;
> >          z = x*y;
> >          printf("z=%f\n",z);
> > 
> > I would be surprised if it didn't work..... :-)
> > 
> > 
> > Hope this helps.
> > 
> > Regards Ray
> > 
> >
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU