help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

save -ascii produce garbage


From: Craig Earls
Subject: save -ascii produce garbage
Date: Tue, 21 Jan 1997 14:53:25 -0500

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++2.7.1.4. 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.

Repeat-By:
---------
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
Nebula:~#



reply via email to

[Prev in Thread] Current Thread [Next in Thread]