in reply to Re: Network IEEE 754 to Native Floats: which pack/unpack ops better?
in thread Network IEEE 754 to Native Floats: which pack/unpack ops better?
(These 'shorts' and 'longs' are _exactly_ 16 bits and _exactly_ 32 bits, respectively.)apply to all four of the ops n, N, v, V grouped together? (doh!) Then we're good throughout using 32 bits (4 bytes), as long as everybody uses the IEEE format.
Thank you very much for testing on an other-endian system. I so easily get cross-eyed with pack/unpack - it's nice to know sometimes I do get it!
|
|---|