>>>>> "JWK" == John W Krahn <jwkr...@shaw.ca> writes:

  JWK> AFAIK floating point numbers don't have endianness (but I may be wrong.)
  JWK> (Besides, in the above example, endianness would be on the pack('d')
  JWK> side of the equation.)

floats are no different than integers in that you must select the
ordering of their bytes when stored in ram. this is done naturally at
the machine level but if you want to control endianess with floats in
perl you need to use reverse at some point.

uri

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to