[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Changeset] Re: Single Precision versus double precision NA
From: |
John W. Eaton |
Subject: |
Re: [Changeset] Re: Single Precision versus double precision NA |
Date: |
Fri, 06 Jun 2008 11:40:02 -0400 |
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