[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about Range class
From: |
Robert A. Macy |
Subject: |
Re: Question about Range class |
Date: |
Fri, 25 Nov 2005 10:09:31 -0800 |
Gotta watch those absolute comments...
As an accuracy test I tried
sqrt(2)*sqrt(2)-2
My TI calculator came back with...
1e-11
...error
octave came back with...
4.44e-16
...interesting.
- Robert -
On Fri, 25 Nov 2005 18:40:43 +0100
Miroslaw Kwasniak <address@hidden> wrote:
> On Wed, Nov 23, 2005 at 07:24:00AM -0800, Robert A. Macy
> wrote:
> > Pedro,
> >
> > In octave, two arguments...
> > z = (1:100)/10
> ^
> 10
> > or, three arguments...
> > Z = (1:0.1:10)
> > ...give identical z arrays,
>
> No, it's almost impossible
>
> max(abs(z-Z))
> ans = 1.7764e-15
>
> ;)
-------------------------------------------------------------
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
-------------------------------------------------------------
- Re: Question about Range class, (continued)
- Re: Question about Range class, John W. Eaton, 2005/11/22
- Re: Question about Range class, Pedro Antonio Fructuoso Merino, 2005/11/23
- Re: Question about Range class, Robert A. Macy, 2005/11/23
- Re: Question about Range class, Shai Ayal, 2005/11/24
- Re: Question about Range class, John W. Eaton, 2005/11/24
- Re: Question about Range class, Joe Koski, 2005/11/24
- Re: Question about Range class, Miroslaw Kwasniak, 2005/11/25
- Re: Question about Range class,
Robert A. Macy <=
- Re: Question about Range class, Przemek Klosowski, 2005/11/25
- Re: Question about Range class, Robert A. Macy, 2005/11/25
- Re: Question about Range class, Henry F. Mollet, 2005/11/25
- Re: Question about Range class, Robert A. Macy, 2005/11/25