[Numpy-discussion] np.longlong casts to int

Pierre Haessig pierre.haessig@crans....
Mon Feb 27 02:31:13 CST 2012

Le 24/02/2012 16:38, Robert Pyle a écrit :
>> I wonder what is the use case of these 80 bits numbers apart from what
>> > is described as "keeping intermediate results" when performing
>> > exponentiation on doubles ?
> In AIFF audio files, the sample rate is stored in the Common Chunk as an 80-bit "extended" floating-point number.  The field allocated for this is exactly 80 bits wide (i.e., no padding to 96 or 128).  The 1989 Apple document defining AIFF can be found at </www-mmsp.ece.mcgill.ca/documents/audioformats/aiff/Docs/AIFF-1.3.pdf>
> I once wrote my own "save as AIFF" routine and I remember it was a pain to format the 80-bit extended float.
That's an interesting use case ! Thanks for sharing !

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
Url : http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120227/fb48b81f/attachment.bin 

More information about the NumPy-Discussion mailing list