'save_precision' doesn't work

Sergei Steshenko sergstesh at yahoo.com
Tue Dec 23 15:47:30 CST 2008


Hello All,

please see the session below - I expected much more significant digits in
'foo.txt' file.


Thanks,
  Sergei.

The session:

octave:1> save_precision(30);
octave:2> output_precision(30);
octave:3> foo = 1/3
foo =  3.33333333333333314829616256247e-01
octave:4> save('-ascii', 'foo.txt', 'foo');
octave:5> system('cat foo.txt');
 3.33333333e-01
octave:6> version
ans = 3.0.3
octave:7>              


      


More information about the Bug-octave mailing list