'save_precision' doesn't work

Jaroslav Hajek highegg at gmail.com
Thu Dec 25 05:36:07 CST 2008


On Wed, Dec 24, 2008 at 7:20 PM, John W. Eaton <jwe at octave.org> wrote:
> On 24-Dec-2008, Jaroslav Hajek wrote:
>
> | Well, this is, in fact, correct. The help for save_precision says that
> | it's the default precision for the "text" format (save -text), not the
> | "ascii" format.
> | The ascii format has a precision of 8 digits. The best option here is
> | probably to support also -double and -tabs for -ascii. Currently,
> | they're unsupported.
>
> Most of the work for handling -double was already done.  I checked in
> the following change.
>

I added support for -tabs as well. To avoid bloating a single enum
with all possible combination of options, I converted load_save_format
to a structure with "type" and "options" components.

http://hg.savannah.gnu.org/hgweb/octave/rev/2e777f5135a3


-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


More information about the Bug-octave mailing list