[SciPy-dev] SciPy Sprint results
Charles R Harris
Fri Dec 21 02:20:28 CST 2007
On Dec 19, 2007 11:28 PM, Robert Kern <firstname.lastname@example.org> wrote:
> Charles R Harris wrote:
> > On Dec 19, 2007 12:52 PM, Travis E. Oliphant <email@example.com
> > <mailto:firstname.lastname@example.org>> wrote:
> > > * NumPy will get a standard binary file format (.npy/.npz) for
> > > arrays/groups_of_arrays.
> > Will this new binary format contain endianess/type data? I am a bit
> > concerned that we don't yet have a reliable way to distinguish extended
> > precision floats from the coming quad precision as they both tend to
> > use 128 bytes on 64 bit machines. Perhaps extended precision should just
> > be dropped at some point, especially as it is not particularly portable
> > between architectures/compilers.
> It uses the dtype.descr to describe the dtype of the array. You can see
> implementation here:
> If it has holes, I would like to fix them. Can you point me to some
> documentation on the different quad precision formats? Doesn't IEEE-854
> standardize this?
> There has been some discussion about whether to continue with this format
> attempt to read and write a very tiny subset of HDF5, so don't get too
> to the format until it hits the trunk. I'll drop some warnings into the
> code to
> that effect.
Here is a PDF version of DRAFT Standard for Floating-Point Arithmetic IEEE
P754 <http://www.validlab.com/754R/drafts/archive/2007-10-05.pdf> . Table 2
on page 16 gives a good summary of the proposed formats. I believe P754 is
the latest step in the revision of the 754 standard as 754r concluded last
year. Note that the proposed standard also adds decimal floats, with decimal
digits packed 3 in 10 bits. Here is a bit more from
who are apparently working on implementations.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scipy-dev