|
From: | Mike Miller |
Subject: | Re: Save produces large files |
Date: | Tue, 14 Jun 2005 09:37:19 -0500 (CDT) |
On Tue, 14 Jun 2005, David Bateman wrote:
Søren Hauberg a écrit :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 linuxThat'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.....
How is NaN encoded? The "too large to save as floats" seems to imply that NaN is encoded as a large value. Is that the case?
Mike
[Prev in Thread] | Current Thread | [Next in Thread] |