: I posted this to bug-octave, because I am pretty certainit is not
: operator error. But maybe it is.
: I am using g77-0.5.19, libc5.2.18, libg++18.104.22.168. I freshly recompiled
: gcc, g77, and octave when I discovered this, on the off chance I hand a
: library locale problem, there was no improvement.
: Binary saves work correctly.
: Nebula:~# octave
: Octave, version 2.0.1 (i686-pc-linux-gnu).
: Copyright (C) 1996 John W. Eaton.
: This is free software with ABSOLUTELY NO WARRANTY.
: For details, type `warranty'.
: octave:1> a=[0,1;3,4]
: a =
: 0 1
: 3 4
: octave:2> save -ascii test.asc a
: octave:3> exit
: Nebula:~# more test.asc
: # name: a
: # type: matrix
: # rows: 2
: # columns: 2
: -0e+3853 -6.8719493612338e+3868
: -6.88202553331772e+3868 -6.8853842573457e+3868
I can't reproduce this problem on a Linux system with
I suspect that you have some library version mismatch. Pretty much
all I know about this kind of problem is in the file
Please note that I am NOT recommending that everyone running Linux and
using Octave should install the same versions of the libraries and
compilers that I have. I am simply saying that the versions listed
above work for me. Other version combinations may also work, but I
don't have time to map out all the possibilities...
> I posted this to bug-octave, because I am pretty certainit is not
> operator error. But maybe it is.
> I am using g77-0.5.19, libc5.2.18, libg++22.214.171.124. I freshly recompiled
> gcc, g77, and octave when I discovered this, on the off chance I hand a
> library locale problem, there was no improvement.