NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

RE: Bit twiddling in Java

http://www.comp.lancs.ac.uk/computing/users/johnstlr/210/BitManip.html
should get you going.

        Dave Homiak
        dhomiak@xxxxxxxxxxxx

-----Original Message-----
From: Wilson, Andrew, J [mailto:andrew.wilson@xxxxxxxxxxxx]
Sent: Thursday, October 24, 2002 7:57 AM
To: visad-list@xxxxxxxxxxxxx
Subject: Bit twiddling in Java


I need to convert some IBM formatted floating point data from
a binary file so I can read into VisAd. This uses a different
number of bits for the exponent and mantissa than is used by
the IEEE representation. Can anyone point me at code or a
tutorial on bit-twiddling in Java?

Andrew


  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: