[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Another newbie question
From: |
John W. Eaton |
Subject: |
Another newbie question |
Date: |
Wed, 30 Jul 2003 22:44:20 -0500 |
On 30-Jul-2003, Fausto Arinos Barbuto <address@hidden> wrote:
| Even though output_precision = 48 unveils lots of digits for,
| say, pi or sqrt(2.0), I found out that only the first 15 are exact
| -- the rest seems to be rubbish.
Octave does floating point arithmetic. It is not an arbitray
precision calculator.
| And should 32-digit
| precision is *not* possible, why does Octave show so many useless
| digits?
Perhaps a warning should be issued if you try to set output_precision
too high. It should be relatively easy to do so. Would someone like
to provide a patch?
Thanks,
jwe
-------------------------------------------------------------
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
-------------------------------------------------------------