From help-octave-request at bevo dot che dot wisc dot edu Tue Feb 11 11:09:12 2003 Subject: Re: polyfit weirdness From: Miquel Cabanas To: Scott Lamb Cc: Etienne Grossmann , help-octave@bevo.che.wisc.edu Date: Tue, 11 Feb 2003 18:08:55 +0100 hi, On Tue, Feb 11, 2003 at 10:25:12AM -0600, Scott Lamb wrote: > Etienne Grossmann wrote: > > A problem with order of magnitude of f1 and floating-point > > limitations? > > > >cv1 = > > 0.66528 0.79417 1.37189 1.59260 1.92606 > > > > Is that more like what you expected? > > Yes, it is, thanks. > > I'm a little disappointed Octave has this problem; I'd assumed > it would be using gmp or something for arbitrary precision. > Oh well. your example works perfectly well on my PC running GNU/Debian 3.0r1 as you wrote it, i.e. without scaling f1 as Etienne suggested. Thus, I would say this is not a problem of Octave itself, but probably a problem of the particular version you're running. Which OS, platform and Octave version are you using? Did you compile it yourself? If not, where did you get it from? Miquel -- Miquel E Cabanas ------------------------------------------------------ SeRMN, Universitat Autonoma de Barcelona (Miquel dot Cabanas at uab dot es) ------------------------------------------o-oo--ooo---ooo--oo-o-------- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------