|
From: | David Bateman |
Subject: | Re: Save produces large files |
Date: | Tue, 14 Jun 2005 16:19:04 +0200 |
User-agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
Søren Hauberg a écrit :
David Bateman wrote:Then try "-float-binary" then, which will use 32-bit floats rather than doubles and still preserve the NaN values....I just tried the following: a = zeros(3); a(5) = NaN; octave:25> save -float-binary test.data a which gives me the following warning: warning: save: some values too large to save as floats -- warning: save: saving as doubles instead Btw. I'm using 2.1.71 on linux
That's pretty stupid behaviour... Perhaps the test for whether data can be saved as float needs to be updated to allow that NaN can be saved as float.....
D. ------------------------------------------------------------- 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |