[Changeset] Re: Single Precision versus double precision NA
John W. Eaton
jwe at bevo.che.wisc.edu
Fri Jun 6 10:40:02 CDT 2008
On 6-Jun-2008, David Bateman wrote:
| No, not unless R makes a change to support the new NA value. I think the
| change can be justified for R as well if they ever want to support
| single precision values, and any other way to handle this issue is going
| to be ugly (ie wrapping float/double and overloading the assignment
| operators to trap the NA values, or some such)
Since NA in Octave exists partlty for compatibility with R, then I
think it would be best to find a way to do this so that we can still
exchange data with R. What about always writing values in the old
format when writing binary data, and converting them when reading?
jwe
More information about the Octave-maintainers
mailing list